Interface CreateApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> M2Request.Builder
,SdkBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application.default CreateApplicationRequest.Builder
definition
(Consumer<Definition.Builder> definition) The application definition for this application.definition
(Definition definition) The application definition for this application.description
(String description) The description of the application.engineType
(String engineType) The type of the target platform for this application.engineType
(EngineType engineType) The type of the target platform for this application.The identifier of a customer managed key.The unique identifier of the application.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.A list of tags to apply to the application.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.m2.model.M2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientToken
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
- Parameters:
clientToken
- Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- Parameters:
definition
- The application definition for this application. You can specify either inline JSON or an S3 bucket location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
This is a convenience method that creates an instance of theDefinition.Builder
avoiding the need to create one manually viaDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(Definition)
.- Parameters:
definition
- a consumer that will call methods onDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the application.
- Parameters:
description
- The description of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineType
The type of the target platform for this application.
- Parameters:
engineType
- The type of the target platform for this application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineType
The type of the target platform for this application.
- Parameters:
engineType
- The type of the target platform for this application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyId
The identifier of a customer managed key.
- Parameters:
kmsKeyId
- The identifier of a customer managed key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The unique identifier of the application.
- Parameters:
name
- The unique identifier of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the application.
- Parameters:
tags
- A list of tags to apply to the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-