Interface ListInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInstancesResponse.Builder,,ListInstancesResponse> SdkBuilder<ListInstancesResponse.Builder,,ListInstancesResponse> SdkPojo,SdkResponse.Builder,SsoAdminResponse.Builder
- Enclosing class:
ListInstancesResponse
public static interface ListInstancesResponse.Builder
extends SsoAdminResponse.Builder, SdkPojo, CopyableBuilder<ListInstancesResponse.Builder,ListInstancesResponse>
-
Method Summary
Modifier 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.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
-
instances
Lists 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.
-
instances
Lists 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.
-
instances
Lists 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 onInstanceMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The 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.
-