Class DescribeTrustsRequest

    • Constructor Detail

      • DescribeTrustsRequest

        public DescribeTrustsRequest()
    • Method Detail

      • setDirectoryId

        public void setDirectoryId​(String directoryId)
        The Directory ID of the AWS directory that is a part of the requested trust relationship.
        Parameters:
        directoryId - The Directory ID of the AWS directory that is a part of the requested trust relationship.
      • getDirectoryId

        public String getDirectoryId()
        The Directory ID of the AWS directory that is a part of the requested trust relationship.
        Returns:
        The Directory ID of the AWS directory that is a part of the requested trust relationship.
      • withDirectoryId

        public DescribeTrustsRequest withDirectoryId​(String directoryId)
        The Directory ID of the AWS directory that is a part of the requested trust relationship.
        Parameters:
        directoryId - The Directory ID of the AWS directory that is a part of the requested trust relationship.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTrustIds

        public List<String> getTrustIds()

        A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.

        An empty list results in an InvalidParameterException being thrown.

        Returns:
        A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.

        An empty list results in an InvalidParameterException being thrown.

      • setTrustIds

        public void setTrustIds​(Collection<String> trustIds)

        A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.

        An empty list results in an InvalidParameterException being thrown.

        Parameters:
        trustIds - A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.

        An empty list results in an InvalidParameterException being thrown.

      • withTrustIds

        public DescribeTrustsRequest withTrustIds​(String... trustIds)

        A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.

        An empty list results in an InvalidParameterException being thrown.

        NOTE: This method appends the values to the existing list (if any). Use setTrustIds(java.util.Collection) or withTrustIds(java.util.Collection) if you want to override the existing values.

        Parameters:
        trustIds - A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.

        An empty list results in an InvalidParameterException being thrown.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTrustIds

        public DescribeTrustsRequest withTrustIds​(Collection<String> trustIds)

        A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.

        An empty list results in an InvalidParameterException being thrown.

        Parameters:
        trustIds - A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.

        An empty list results in an InvalidParameterException being thrown.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.

        Parameters:
        nextToken - The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
      • getNextToken

        public String getNextToken()

        The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.

        Returns:
        The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
      • withNextToken

        public DescribeTrustsRequest withNextToken​(String nextToken)

        The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.

        Parameters:
        nextToken - The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLimit

        public void setLimit​(Integer limit)
        The maximum number of objects to return.
        Parameters:
        limit - The maximum number of objects to return.
      • getLimit

        public Integer getLimit()
        The maximum number of objects to return.
        Returns:
        The maximum number of objects to return.
      • withLimit

        public DescribeTrustsRequest withLimit​(Integer limit)
        The maximum number of objects to return.
        Parameters:
        limit - The maximum number of objects to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object