Interface DescribeTrustsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTrustsResponse.Builder,DescribeTrustsResponse>,DirectoryResponse.Builder,SdkBuilder<DescribeTrustsResponse.Builder,DescribeTrustsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTrustsResponse
public static interface DescribeTrustsResponse.Builder extends DirectoryResponse.Builder, SdkPojo, CopyableBuilder<DescribeTrustsResponse.Builder,DescribeTrustsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeTrustsResponse.BuildernextToken(String nextToken)If not null, more results are available.DescribeTrustsResponse.Buildertrusts(Collection<Trust> trusts)The list of Trust objects that were retrieved.DescribeTrustsResponse.Buildertrusts(Consumer<Trust.Builder>... trusts)The list of Trust objects that were retrieved.DescribeTrustsResponse.Buildertrusts(Trust... trusts)The list of Trust objects that were retrieved.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
trusts
DescribeTrustsResponse.Builder trusts(Collection<Trust> trusts)
The list of Trust objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
- Parameters:
trusts- The list of Trust objects that were retrieved.It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trusts
DescribeTrustsResponse.Builder trusts(Trust... trusts)
The list of Trust objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
- Parameters:
trusts- The list of Trust objects that were retrieved.It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trusts
DescribeTrustsResponse.Builder trusts(Consumer<Trust.Builder>... trusts)
The list of Trust objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
This is a convenience method that creates an instance of theTrust.Builderavoiding the need to create one manually viaTrust.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#trusts(List.) - Parameters:
trusts- a consumer that will call methods onTrust.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#trusts(java.util.Collection)
-
nextToken
DescribeTrustsResponse.Builder nextToken(String nextToken)
If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeTrusts to retrieve the next set of items.
- Parameters:
nextToken- If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeTrusts to retrieve the next set of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-