public static interface CreateStageRequest.Builder extends APIGatewayRequest.Builder, 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 cluster size.
|
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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateStageRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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 |
variables(Map<String,String> variables)
A map that defines the stage variables for the new Stage resource.
|
build
requestOverrideConfig
copy
apply, build
CreateStageRequest.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.
stageName
- The name for the Stage resource.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 cluster size.
cacheClusterSize
- The stage's cache cluster size.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateStageRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.