@Generated(value="software.amazon.awssdk:codegen") public final class CreateStageRequest extends ApiGatewayRequest implements ToCopyableBuilder<CreateStageRequest.Builder,CreateStageRequest>
Requests API Gateway to create a Stage resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateStageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateStageRequest.Builder |
builder() |
Boolean |
cacheClusterEnabled()
Whether cache clustering is enabled for the stage.
|
String |
cacheClusterSize()
The stage's cache cluster size.
|
CanarySettings |
canarySettings()
The canary deployment settings of this stage.
|
String |
deploymentId()
[Required] The identifier of the Deployment resource for the Stage resource.
|
String |
description()
The description of the Stage resource.
|
String |
documentationVersion()
The version of the associated API documentation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasVariables()
Returns true if the Variables property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
restApiId()
[Required] The string identifier of the associated RestApi.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateStageRequest.Builder> |
serializableBuilderClass() |
String |
stageName()
[Required] The name for the Stage resource.
|
Map<String,String> |
tags()
The key-value map of strings.
|
CreateStageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
tracingEnabled()
Specifies whether active tracing with X-ray is enabled for the Stage.
|
Map<String,String> |
variables()
A map that defines the stage variables for the new Stage resource.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String restApiId()
[Required] The string identifier of the associated RestApi.
public final String stageName()
[Required] The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
public final String deploymentId()
[Required] The identifier of the Deployment resource for the Stage resource.
public final String description()
The description of the Stage resource.
public final Boolean cacheClusterEnabled()
Whether cache clustering is enabled for the stage.
public final String cacheClusterSize()
The stage's cache cluster size.
public final boolean hasVariables()
public final 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-._~:/?#&=,]+.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasVariables() to see if a value was sent in this field.
[A-Za-z0-9-._~:/?#&=,]+.public final String documentationVersion()
The version of the associated API documentation.
public final CanarySettings canarySettings()
The canary deployment settings of this stage.
public final Boolean tracingEnabled()
Specifies whether active tracing with X-ray is enabled for the Stage.
public final boolean hasTags()
public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
aws:. The tag value can be up to 256 characters.public CreateStageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateStageRequest.Builder,CreateStageRequest>toBuilder in class ApiGatewayRequestpublic static CreateStageRequest.Builder builder()
public static Class<? extends CreateStageRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.