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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInstancesResponse.Builderinstances(Collection<InstanceMetadata> instances)Lists the IAM Identity Center instances that the caller has access to.ListInstancesResponse.Builderinstances(Consumer<InstanceMetadata.Builder>... instances)Lists the IAM Identity Center instances that the caller has access to.ListInstancesResponse.Builderinstances(InstanceMetadata... instances)Lists the IAM Identity Center instances that the caller has access to.ListInstancesResponse.BuildernextToken(String nextToken)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 Detail
-
instances
ListInstancesResponse.Builder instances(Collection<InstanceMetadata> 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
ListInstancesResponse.Builder instances(InstanceMetadata... 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
ListInstancesResponse.Builder instances(Consumer<InstanceMetadata.Builder>... 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 to#instances(List.) - 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:
#instances(java.util.Collection)
-
nextToken
ListInstancesResponse.Builder nextToken(String 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.
-
-