Interface ListRegionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRegionsResponse.Builder,,ListRegionsResponse> SdkBuilder<ListRegionsResponse.Builder,,ListRegionsResponse> SdkPojo,SdkResponse.Builder,SsoAdminResponse.Builder
- Enclosing class:
ListRegionsResponse
@Mutable
@NotThreadSafe
public static interface ListRegionsResponse.Builder
extends SsoAdminResponse.Builder, SdkPojo, CopyableBuilder<ListRegionsResponse.Builder,ListRegionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to be used in subsequent calls.regions(Collection<RegionMetadata> regions) The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.regions(Consumer<RegionMetadata.Builder>... regions) The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.regions(RegionMetadata... regions) The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
regions
The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.
- Parameters:
regions- The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.
- Parameters:
regions- The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The list of Regions enabled in the IAM Identity Center instance, including Regions with ACTIVE, ADDING, or REMOVING status.
This is a convenience method that creates an instance of theRegionMetadata.Builderavoiding the need to create one manually viaRegionMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregions(List<RegionMetadata>).- Parameters:
regions- a consumer that will call methods onRegionMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to be used in subsequent calls. If the value is null, then there are no more entries.
- Parameters:
nextToken- The pagination token to be used in subsequent calls. If the value is null, then there are no more entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-