Interface CreateAppInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkIdentityRequest.Builder,CopyableBuilder<CreateAppInstanceRequest.Builder,,CreateAppInstanceRequest> SdkBuilder<CreateAppInstanceRequest.Builder,,CreateAppInstanceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAppInstanceRequest
@Mutable
@NotThreadSafe
public static interface CreateAppInstanceRequest.Builder
extends ChimeSdkIdentityRequest.Builder, SdkPojo, CopyableBuilder<CreateAppInstanceRequest.Builder,CreateAppInstanceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) The unique ID of the request.The metadata of theAppInstance.The name of theAppInstance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) Tags assigned to theAppInstance.tags(Consumer<Tag.Builder>... tags) Tags assigned to theAppInstance.Tags assigned to theAppInstance.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.chimesdkidentity.model.ChimeSdkIdentityRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
name
The name of the
AppInstance.- Parameters:
name- The name of theAppInstance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The metadata of the
AppInstance. Limited to a 1KB string in UTF-8.- Parameters:
metadata- The metadata of theAppInstance. Limited to a 1KB string in UTF-8.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
The unique ID of the request. Use different tokens to create different
AppInstances.- Parameters:
clientRequestToken- The unique ID of the request. Use different tokens to create differentAppInstances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags assigned to the
AppInstance.- Parameters:
tags- Tags assigned to theAppInstance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags assigned to the
AppInstance.- Parameters:
tags- Tags assigned to theAppInstance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags assigned to the
This is a convenience method that creates an instance of theAppInstance.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAppInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAppInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-