public static interface CreateDeploymentRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDeploymentRequest.Builder |
cacheClusterEnabled(Boolean cacheClusterEnabled)
Enables a cache cluster for the Stage resource specified in the input.
|
CreateDeploymentRequest.Builder |
cacheClusterSize(String cacheClusterSize)
Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is
enabled.
|
default CreateDeploymentRequest.Builder |
canarySettings(Consumer<DeploymentCanarySettings.Builder> canarySettings)
The input configuration for the canary deployment when the deployment is a canary release deployment.
|
CreateDeploymentRequest.Builder |
canarySettings(DeploymentCanarySettings canarySettings)
The input configuration for the canary deployment when the deployment is a canary release deployment.
|
CreateDeploymentRequest.Builder |
description(String description)
The description for the Deployment resource to create.
|
CreateDeploymentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateDeploymentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDeploymentRequest.Builder |
restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
CreateDeploymentRequest.Builder |
stageDescription(String stageDescription)
The description of the Stage resource for the Deployment resource to create.
|
CreateDeploymentRequest.Builder |
stageName(String stageName)
The name of the Stage resource for the Deployment resource to create.
|
CreateDeploymentRequest.Builder |
tracingEnabled(Boolean tracingEnabled)
Specifies whether active tracing with X-ray is enabled for the Stage.
|
CreateDeploymentRequest.Builder |
variables(Map<String,String> variables)
A map that defines the stage variables for the Stage resource that is associated with the new
deployment.
|
buildoverrideConfigurationcopyapplyMutation, buildCreateDeploymentRequest.Builder restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId - [Required] The string identifier of the associated RestApi.CreateDeploymentRequest.Builder stageName(String stageName)
The name of the Stage resource for the Deployment resource to create.
stageName - The name of the Stage resource for the Deployment resource to create.CreateDeploymentRequest.Builder stageDescription(String stageDescription)
The description of the Stage resource for the Deployment resource to create.
stageDescription - The description of the Stage resource for the Deployment resource to create.CreateDeploymentRequest.Builder description(String description)
The description for the Deployment resource to create.
description - The description for the Deployment resource to create.CreateDeploymentRequest.Builder cacheClusterEnabled(Boolean cacheClusterEnabled)
Enables a cache cluster for the Stage resource specified in the input.
cacheClusterEnabled - Enables a cache cluster for the Stage resource specified in the input.CreateDeploymentRequest.Builder cacheClusterSize(String cacheClusterSize)
Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.
cacheClusterSize - Specifies the cache cluster size for the Stage resource specified in the input, if a cache
cluster is enabled.CreateDeploymentRequest.Builder variables(Map<String,String> 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-._~:/?#&=,]+.
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-._~:/?#&=,]+.CreateDeploymentRequest.Builder canarySettings(DeploymentCanarySettings canarySettings)
The input configuration for the canary deployment when the deployment is a canary release deployment.
canarySettings - The input configuration for the canary deployment when the deployment is a canary release deployment.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 that creates an instance of theDeploymentCanarySettings.Builder avoiding the
need to create one manually via DeploymentCanarySettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to canarySettings(DeploymentCanarySettings).canarySettings - a consumer that will call methods on DeploymentCanarySettings.BuildercanarySettings(DeploymentCanarySettings)CreateDeploymentRequest.Builder tracingEnabled(Boolean tracingEnabled)
Specifies whether active tracing with X-ray is enabled for the Stage.
tracingEnabled - Specifies whether active tracing with X-ray is enabled for the Stage.CreateDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.