Interface ListInstancesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListInstancesResponse.Builder,,- ListInstancesResponse> - SdkBuilder<ListInstancesResponse.Builder,,- ListInstancesResponse> - SdkPojo,- SdkResponse.Builder,- SsoAdminResponse.Builder
- Enclosing class:
- ListInstancesResponse
@Mutable
@NotThreadSafe
public static interface ListInstancesResponse.Builder
extends SsoAdminResponse.Builder, SdkPojo, CopyableBuilder<ListInstancesResponse.Builder,ListInstancesResponse> 
- 
Method SummaryModifier and TypeMethodDescriptioninstances(Collection<InstanceMetadata> instances) Lists the IAM Identity Center instances that the caller has access to.instances(Consumer<InstanceMetadata.Builder>... instances) Lists the IAM Identity Center instances that the caller has access to.instances(InstanceMetadata... instances) Lists the IAM Identity Center instances that the caller has access to.The pagination token for the list API.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
instancesLists the IAM Identity Center instances that the caller has access to. - Parameters:
- instances- Lists the IAM Identity Center instances that the caller has access to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
instancesLists the IAM Identity Center instances that the caller has access to. - Parameters:
- instances- Lists the IAM Identity Center instances that the caller has access to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
instancesLists the IAM Identity Center instances that the caller has access to. This is a convenience method that creates an instance of theInstanceMetadata.Builderavoiding the need to create one manually viaInstanceMetadata.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstances(List<InstanceMetadata>).- Parameters:
- instances- a consumer that will call methods on- InstanceMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenThe pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls. - Parameters:
- nextToken- The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-