Interface DescribeRegionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRegionsResponse.Builder,,DescribeRegionsResponse> DirectoryResponse.Builder,SdkBuilder<DescribeRegionsResponse.Builder,,DescribeRegionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeRegionsResponse
@Mutable
@NotThreadSafe
public static interface DescribeRegionsResponse.Builder
extends DirectoryResponse.Builder, SdkPojo, CopyableBuilder<DescribeRegionsResponse.Builder,DescribeRegionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf not null, more results are available.regionsDescription(Collection<RegionDescription> regionsDescription) List of Region information related to the directory for each replicated Region.regionsDescription(Consumer<RegionDescription.Builder>... regionsDescription) List of Region information related to the directory for each replicated Region.regionsDescription(RegionDescription... regionsDescription) List of Region information related to the directory for each replicated Region.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
regionsDescription
DescribeRegionsResponse.Builder regionsDescription(Collection<RegionDescription> regionsDescription) List of Region information related to the directory for each replicated Region.
- Parameters:
regionsDescription- List of Region information related to the directory for each replicated Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsDescription
List of Region information related to the directory for each replicated Region.
- Parameters:
regionsDescription- List of Region information related to the directory for each replicated Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsDescription
DescribeRegionsResponse.Builder regionsDescription(Consumer<RegionDescription.Builder>... regionsDescription) List of Region information related to the directory for each replicated Region.
This is a convenience method that creates an instance of theRegionDescription.Builderavoiding the need to create one manually viaRegionDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregionsDescription(List<RegionDescription>).- Parameters:
regionsDescription- a consumer that will call methods onRegionDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If not null, more results are available. Pass this value for the
NextTokenparameter in a subsequent call to DescribeRegions to retrieve the next set of items.- Parameters:
nextToken- If not null, more results are available. Pass this value for theNextTokenparameter in a subsequent call to DescribeRegions to retrieve the next set of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-