@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()
The stage's cache capacity in GB.
|
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()
For responses, this returns true if the service returned a value for the Variables property.
|
String |
restApiId()
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()
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()
The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.
public final boolean hasVariables()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasVariables() method.
[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 © 2023. All rights reserved.