Interface CreateApplicationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>,M2Request.Builder,SdkBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateApplicationRequest
public static interface CreateApplicationRequest.Builder extends M2Request.Builder, SdkPojo, CopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateApplicationRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application.default CreateApplicationRequest.Builderdefinition(Consumer<Definition.Builder> definition)The application definition for this application.CreateApplicationRequest.Builderdefinition(Definition definition)The application definition for this application.CreateApplicationRequest.Builderdescription(String description)The description of the application.CreateApplicationRequest.BuilderengineType(String engineType)The type of the target platform for this application.CreateApplicationRequest.BuilderengineType(EngineType engineType)The type of the target platform for this application.CreateApplicationRequest.BuilderkmsKeyId(String kmsKeyId)The identifier of a customer managed key.CreateApplicationRequest.Buildername(String name)The unique identifier of the application.CreateApplicationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateApplicationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateApplicationRequest.BuilderroleArn(String 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.CreateApplicationRequest.Buildertags(Map<String,String> tags)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 Detail
-
clientToken
CreateApplicationRequest.Builder clientToken(String 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
CreateApplicationRequest.Builder definition(Definition 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
default CreateApplicationRequest.Builder definition(Consumer<Definition.Builder> 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.Builderavoiding the need to create one manually viaDefinition.builder().When the
Consumercompletes,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:
definition(Definition)
-
description
CreateApplicationRequest.Builder description(String 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
CreateApplicationRequest.Builder engineType(String 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,EngineType
-
engineType
CreateApplicationRequest.Builder engineType(EngineType 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,EngineType
-
kmsKeyId
CreateApplicationRequest.Builder kmsKeyId(String 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
CreateApplicationRequest.Builder name(String 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
CreateApplicationRequest.Builder roleArn(String 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
CreateApplicationRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-