@Generated(value="software.amazon.awssdk:codegen") public final class CreateDeploymentRequest extends ApiGatewayRequest implements ToCopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
Requests API Gateway to create a Deployment resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDeploymentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateDeploymentRequest.Builder |
builder() |
Boolean |
cacheClusterEnabled()
Enables a cache cluster for the Stage resource specified in the input.
|
String |
cacheClusterSize()
Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is
enabled.
|
DeploymentCanarySettings |
canarySettings()
The input configuration for the canary deployment when the deployment is a canary release deployment.
|
String |
description()
The description for the Deployment resource to create.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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 CreateDeploymentRequest.Builder> |
serializableBuilderClass() |
String |
stageDescription()
The description of the Stage resource for the Deployment resource to create.
|
String |
stageName()
The name of the Stage resource for the Deployment resource to create.
|
CreateDeploymentRequest.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 Stage resource that is associated with the new deployment.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String restApiId()
[Required] The string identifier of the associated RestApi.
public final String stageName()
The name of the Stage resource for the Deployment resource to create.
public final String stageDescription()
The description of the Stage resource for the Deployment resource to create.
public final String description()
The description for the Deployment resource to create.
public final Boolean cacheClusterEnabled()
Enables a cache cluster for the Stage resource specified in the input.
public final String cacheClusterSize()
Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.
public final boolean hasVariables()
public final 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-._~:/?#&=,]+.
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 DeploymentCanarySettings canarySettings()
The input configuration for the canary deployment when the deployment is a canary release deployment.
public final Boolean tracingEnabled()
Specifies whether active tracing with X-ray is enabled for the Stage.
public CreateDeploymentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>toBuilder in class ApiGatewayRequestpublic static CreateDeploymentRequest.Builder builder()
public static Class<? extends CreateDeploymentRequest.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.