Interface CreateStageRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateStageRequest.Builder,,CreateStageRequest> SdkBuilder<CreateStageRequest.Builder,,CreateStageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateStageRequest
-
Method Summary
Modifier and TypeMethodDescriptioncacheClusterEnabled(Boolean cacheClusterEnabled) Whether cache clustering is enabled for the stage.cacheClusterSize(String cacheClusterSize) The stage's cache capacity in GB.default CreateStageRequest.BuildercanarySettings(Consumer<CanarySettings.Builder> canarySettings) The canary deployment settings of this stage.canarySettings(CanarySettings canarySettings) The canary deployment settings of this stage.deploymentId(String deploymentId) The identifier of the Deployment resource for the Stage resource.description(String description) The description of the Stage resource.documentationVersion(String documentationVersion) The version of the associated API documentation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) The string identifier of the associated RestApi.The name for the Stage resource.The key-value map of strings.tracingEnabled(Boolean tracingEnabled) Specifies whether active tracing with X-ray is enabled for the Stage.A map that defines the stage variables for the new Stage resource.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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 for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
- Parameters:
stageName- The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentId
The identifier of the Deployment resource for the Stage resource.
- Parameters:
deploymentId- The identifier of the Deployment resource for the Stage resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the Stage resource.
- Parameters:
description- The description of the Stage resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheClusterEnabled
Whether cache clustering is enabled for the stage.
- Parameters:
cacheClusterEnabled- Whether cache clustering is enabled for the stage.- 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 new Stage resource. 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 new Stage resource. 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.
-
documentationVersion
The version of the associated API documentation.
- Parameters:
documentationVersion- The version of the associated API documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canarySettings
The canary deployment settings of this stage.
- Parameters:
canarySettings- The canary deployment settings of this stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canarySettings
The canary deployment settings of this stage.
This is a convenience method that creates an instance of theCanarySettings.Builderavoiding the need to create one manually viaCanarySettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocanarySettings(CanarySettings).- Parameters:
canarySettings- a consumer that will call methods onCanarySettings.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.
-
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.- Parameters:
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 withaws:. The tag value can be up to 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateStageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateStageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-