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
copy
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
Methods 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.Builder
avoiding the need to create one manually viaInstanceMetadata.builder()
.When the
Consumer
completes,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.
-