Interface CreateDeploymentRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDeploymentRequest.Builder,
,CreateDeploymentRequest> SdkBuilder<CreateDeploymentRequest.Builder,
,CreateDeploymentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDeploymentRequest
-
Method Summary
Modifier and TypeMethodDescriptioncacheClusterEnabled
(Boolean cacheClusterEnabled) Enables a cache cluster for the Stage resource specified in the input.cacheClusterSize
(String cacheClusterSize) The stage's cache capacity in GB.default CreateDeploymentRequest.Builder
canarySettings
(Consumer<DeploymentCanarySettings.Builder> canarySettings) The input configuration for the canary deployment when the deployment is a canary release deployment.canarySettings
(DeploymentCanarySettings canarySettings) The input configuration for the canary deployment when the deployment is a canary release deployment.description
(String description) The description for the Deployment resource to create.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The string identifier of the associated RestApi.stageDescription
(String stageDescription) The description of the Stage resource for the Deployment resource to create.The name of the Stage resource for the Deployment resource to create.tracingEnabled
(Boolean tracingEnabled) Specifies whether active tracing with X-ray is enabled for the Stage.A map that defines the stage variables for the Stage resource that is associated with the new deployment.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
build
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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
restApiId
The string identifier of the associated RestApi.
- Parameters:
restApiId
- The string identifier of the associated RestApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageName
The name of the Stage resource for the Deployment resource to create.
- Parameters:
stageName
- The name of the Stage resource for the Deployment resource to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageDescription
The description of the Stage resource for the Deployment resource to create.
- Parameters:
stageDescription
- The description of the Stage resource for the Deployment resource to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the Deployment resource to create.
- Parameters:
description
- The description for the Deployment resource to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheClusterEnabled
Enables a cache cluster for the Stage resource specified in the input.
- Parameters:
cacheClusterEnabled
- Enables a cache cluster for the Stage resource specified in the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheClusterSize
The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.
- Parameters:
cacheClusterSize
- The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
A map that defines the stage variables for the Stage resource that is associated with the new deployment. Variable names can have alphanumeric and underscore characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+
.- Parameters:
variables
- A map that defines the stage variables for the Stage resource that is associated with the new deployment. Variable names can have alphanumeric and underscore characters, and the values must match[A-Za-z0-9-._~:/?#&=,]+
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canarySettings
The input configuration for the canary deployment when the deployment is a canary release deployment.
- Parameters:
canarySettings
- The input configuration for the canary deployment when the deployment is a canary release deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canarySettings
default CreateDeploymentRequest.Builder canarySettings(Consumer<DeploymentCanarySettings.Builder> canarySettings) The input configuration for the canary deployment when the deployment is a canary release deployment.
This is a convenience method that creates an instance of theDeploymentCanarySettings.Builder
avoiding the need to create one manually viaDeploymentCanarySettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocanarySettings(DeploymentCanarySettings)
.- Parameters:
canarySettings
- a consumer that will call methods onDeploymentCanarySettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tracingEnabled
Specifies whether active tracing with X-ray is enabled for the Stage.
- Parameters:
tracingEnabled
- Specifies whether active tracing with X-ray is enabled for the Stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDeploymentRequest.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
CreateDeploymentRequest.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.
-