Interface DescribeRegionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeRegionsResponse.Builder,
,DescribeRegionsResponse> DirectoryResponse.Builder
,SdkBuilder<DescribeRegionsResponse.Builder,
,DescribeRegionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeRegionsResponse
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
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, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaRegionDescription.builder()
.When the
Consumer
completes,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
NextToken
parameter 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 theNextToken
parameter 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.
-