public static interface CreateStageRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateStageRequest.Builder,CreateStageRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateStageRequest.Builder |
cacheClusterEnabled(Boolean cacheClusterEnabled)
Whether cache clustering is enabled for the stage.
|
CreateStageRequest.Builder |
cacheClusterSize(String cacheClusterSize)
The stage's cache capacity in GB.
|
CreateStageRequest.Builder |
canarySettings(CanarySettings canarySettings)
The canary deployment settings of this stage.
|
default CreateStageRequest.Builder |
canarySettings(Consumer<CanarySettings.Builder> canarySettings)
The canary deployment settings of this stage.
|
CreateStageRequest.Builder |
deploymentId(String deploymentId)
The identifier of the Deployment resource for the Stage resource.
|
CreateStageRequest.Builder |
description(String description)
The description of the Stage resource.
|
CreateStageRequest.Builder |
documentationVersion(String documentationVersion)
The version of the associated API documentation.
|
CreateStageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateStageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateStageRequest.Builder |
restApiId(String restApiId)
The string identifier of the associated RestApi.
|
CreateStageRequest.Builder |
stageName(String stageName)
The name for the Stage resource.
|
CreateStageRequest.Builder |
tags(Map<String,String> tags)
The key-value map of strings.
|
CreateStageRequest.Builder |
tracingEnabled(Boolean tracingEnabled)
Specifies whether active tracing with X-ray is enabled for the Stage.
|
CreateStageRequest.Builder |
variables(Map<String,String> variables)
A map that defines the stage variables for the new Stage resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateStageRequest.Builder restApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId - The string identifier of the associated RestApi.CreateStageRequest.Builder stageName(String stageName)
The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
stageName - The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and
underscores. Maximum length is 128 characters.CreateStageRequest.Builder deploymentId(String deploymentId)
The identifier of the Deployment resource for the Stage resource.
deploymentId - The identifier of the Deployment resource for the Stage resource.CreateStageRequest.Builder description(String description)
The description of the Stage resource.
description - The description of the Stage resource.CreateStageRequest.Builder cacheClusterEnabled(Boolean cacheClusterEnabled)
Whether cache clustering is enabled for the stage.
cacheClusterEnabled - Whether cache clustering is enabled for the stage.CreateStageRequest.Builder cacheClusterSize(String cacheClusterSize)
The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.
cacheClusterSize - The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling
API caching to enhance responsiveness.CreateStageRequest.Builder variables(Map<String,String> variables)
A map that defines the stage variables for the new Stage resource. 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 new Stage resource. Variable names can have
alphanumeric and underscore characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+.CreateStageRequest.Builder documentationVersion(String documentationVersion)
The version of the associated API documentation.
documentationVersion - The version of the associated API documentation.CreateStageRequest.Builder canarySettings(CanarySettings canarySettings)
The canary deployment settings of this stage.
canarySettings - The canary deployment settings of this stage.default CreateStageRequest.Builder canarySettings(Consumer<CanarySettings.Builder> canarySettings)
The canary deployment settings of this stage.
This is a convenience method that creates an instance of theCanarySettings.Builder avoiding the need
to create one manually via CanarySettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to canarySettings(CanarySettings).
canarySettings - a consumer that will call methods on CanarySettings.BuildercanarySettings(CanarySettings)CreateStageRequest.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.CreateStageRequest.Builder tags(Map<String,String> tags)
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128
characters and must not start with aws:. The tag value can be up to 256 characters.
tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128
characters and must not start with aws:. The tag value can be up to 256 characters.CreateStageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateStageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.