@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Stage extends Object implements Serializable, Cloneable, StructuredPojo
Represents a unique identifier for a version of a deployed RestApi that is callable by users.
Constructor and Description |
---|
Stage() |
Modifier and Type | Method and Description |
---|---|
Stage |
addMethodSettingsEntry(String key,
MethodSetting value) |
Stage |
addVariablesEntry(String key,
String value) |
Stage |
clearMethodSettingsEntries()
Removes all the entries added into MethodSettings.
|
Stage |
clearVariablesEntries()
Removes all the entries added into Variables.
|
Stage |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCacheClusterEnabled()
Specifies whether a cache cluster is enabled for the stage.
|
String |
getCacheClusterSize()
The size of the cache cluster for the stage, if enabled.
|
String |
getCacheClusterStatus()
The status of the cache cluster for the stage, if enabled.
|
String |
getClientCertificateId()
The identifier of a client certificate for an API stage.
|
Date |
getCreatedDate()
The timestamp when the stage was created.
|
String |
getDeploymentId()
The identifier of the Deployment that the stage points to.
|
String |
getDescription()
The stage's description.
|
String |
getDocumentationVersion()
The version of the associated API documentation.
|
Date |
getLastUpdatedDate()
The timestamp when the stage last updated.
|
Map<String,MethodSetting> |
getMethodSettings()
A map that defines the method settings for a Stage resource.
|
String |
getStageName()
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to Amazon API
Gateway.
|
Map<String,String> |
getVariables()
A map that defines the stage variables for a Stage resource.
|
int |
hashCode() |
Boolean |
isCacheClusterEnabled()
Specifies whether a cache cluster is enabled for the stage.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCacheClusterEnabled(Boolean cacheClusterEnabled)
Specifies whether a cache cluster is enabled for the stage.
|
void |
setCacheClusterSize(String cacheClusterSize)
The size of the cache cluster for the stage, if enabled.
|
void |
setCacheClusterStatus(CacheClusterStatus cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
|
void |
setCacheClusterStatus(String cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
|
void |
setClientCertificateId(String clientCertificateId)
The identifier of a client certificate for an API stage.
|
void |
setCreatedDate(Date createdDate)
The timestamp when the stage was created.
|
void |
setDeploymentId(String deploymentId)
The identifier of the Deployment that the stage points to.
|
void |
setDescription(String description)
The stage's description.
|
void |
setDocumentationVersion(String documentationVersion)
The version of the associated API documentation.
|
void |
setLastUpdatedDate(Date lastUpdatedDate)
The timestamp when the stage last updated.
|
void |
setMethodSettings(Map<String,MethodSetting> methodSettings)
A map that defines the method settings for a Stage resource.
|
void |
setStageName(String stageName)
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to Amazon API
Gateway.
|
void |
setVariables(Map<String,String> variables)
A map that defines the stage variables for a Stage resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Stage |
withCacheClusterEnabled(Boolean cacheClusterEnabled)
Specifies whether a cache cluster is enabled for the stage.
|
Stage |
withCacheClusterSize(String cacheClusterSize)
The size of the cache cluster for the stage, if enabled.
|
Stage |
withCacheClusterStatus(CacheClusterStatus cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
|
Stage |
withCacheClusterStatus(String cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
|
Stage |
withClientCertificateId(String clientCertificateId)
The identifier of a client certificate for an API stage.
|
Stage |
withCreatedDate(Date createdDate)
The timestamp when the stage was created.
|
Stage |
withDeploymentId(String deploymentId)
The identifier of the Deployment that the stage points to.
|
Stage |
withDescription(String description)
The stage's description.
|
Stage |
withDocumentationVersion(String documentationVersion)
The version of the associated API documentation.
|
Stage |
withLastUpdatedDate(Date lastUpdatedDate)
The timestamp when the stage last updated.
|
Stage |
withMethodSettings(Map<String,MethodSetting> methodSettings)
A map that defines the method settings for a Stage resource.
|
Stage |
withStageName(String stageName)
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to Amazon API
Gateway.
|
Stage |
withVariables(Map<String,String> variables)
A map that defines the stage variables for a Stage resource.
|
public void setDeploymentId(String deploymentId)
The identifier of the Deployment that the stage points to.
deploymentId
- The identifier of the Deployment that the stage points to.public String getDeploymentId()
The identifier of the Deployment that the stage points to.
public Stage withDeploymentId(String deploymentId)
The identifier of the Deployment that the stage points to.
deploymentId
- The identifier of the Deployment that the stage points to.public void setClientCertificateId(String clientCertificateId)
The identifier of a client certificate for an API stage.
clientCertificateId
- The identifier of a client certificate for an API stage.public String getClientCertificateId()
The identifier of a client certificate for an API stage.
public Stage withClientCertificateId(String clientCertificateId)
The identifier of a client certificate for an API stage.
clientCertificateId
- The identifier of a client certificate for an API stage.public void setStageName(String stageName)
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to Amazon API Gateway.
stageName
- The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to
Amazon API Gateway.public String getStageName()
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to Amazon API Gateway.
public Stage withStageName(String stageName)
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to Amazon API Gateway.
stageName
- The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to
Amazon API Gateway.public void setDescription(String description)
The stage's description.
description
- The stage's description.public String getDescription()
The stage's description.
public Stage withDescription(String description)
The stage's description.
description
- The stage's description.public void setCacheClusterEnabled(Boolean cacheClusterEnabled)
Specifies whether a cache cluster is enabled for the stage.
cacheClusterEnabled
- Specifies whether a cache cluster is enabled for the stage.public Boolean getCacheClusterEnabled()
Specifies whether a cache cluster is enabled for the stage.
public Stage withCacheClusterEnabled(Boolean cacheClusterEnabled)
Specifies whether a cache cluster is enabled for the stage.
cacheClusterEnabled
- Specifies whether a cache cluster is enabled for the stage.public Boolean isCacheClusterEnabled()
Specifies whether a cache cluster is enabled for the stage.
public void setCacheClusterSize(String cacheClusterSize)
The size of the cache cluster for the stage, if enabled.
cacheClusterSize
- The size of the cache cluster for the stage, if enabled.public String getCacheClusterSize()
The size of the cache cluster for the stage, if enabled.
public Stage withCacheClusterSize(String cacheClusterSize)
The size of the cache cluster for the stage, if enabled.
cacheClusterSize
- The size of the cache cluster for the stage, if enabled.public void setCacheClusterStatus(String cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
cacheClusterStatus
- The status of the cache cluster for the stage, if enabled.CacheClusterStatus
public String getCacheClusterStatus()
The status of the cache cluster for the stage, if enabled.
CacheClusterStatus
public Stage withCacheClusterStatus(String cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
cacheClusterStatus
- The status of the cache cluster for the stage, if enabled.CacheClusterStatus
public void setCacheClusterStatus(CacheClusterStatus cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
cacheClusterStatus
- The status of the cache cluster for the stage, if enabled.CacheClusterStatus
public Stage withCacheClusterStatus(CacheClusterStatus cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
cacheClusterStatus
- The status of the cache cluster for the stage, if enabled.CacheClusterStatus
public Map<String,MethodSetting> getMethodSettings()
A map that defines the method settings for a Stage resource. Keys (designated as
/{method_setting_key
below) are method paths defined as {resource_path}/{http_method}
for an individual method override, or /\*/\*
for overriding all methods in the stage.
/{method_setting_key
below) are method paths defined as
{resource_path}/{http_method}
for an individual method override, or /\*/\*
for overriding all methods in the stage.public void setMethodSettings(Map<String,MethodSetting> methodSettings)
A map that defines the method settings for a Stage resource. Keys (designated as
/{method_setting_key
below) are method paths defined as {resource_path}/{http_method}
for an individual method override, or /\*/\*
for overriding all methods in the stage.
methodSettings
- A map that defines the method settings for a Stage resource. Keys (designated as
/{method_setting_key
below) are method paths defined as
{resource_path}/{http_method}
for an individual method override, or /\*/\*
for overriding all methods in the stage.public Stage withMethodSettings(Map<String,MethodSetting> methodSettings)
A map that defines the method settings for a Stage resource. Keys (designated as
/{method_setting_key
below) are method paths defined as {resource_path}/{http_method}
for an individual method override, or /\*/\*
for overriding all methods in the stage.
methodSettings
- A map that defines the method settings for a Stage resource. Keys (designated as
/{method_setting_key
below) are method paths defined as
{resource_path}/{http_method}
for an individual method override, or /\*/\*
for overriding all methods in the stage.public Stage addMethodSettingsEntry(String key, MethodSetting value)
public Stage clearMethodSettingsEntries()
public Map<String,String> getVariables()
A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and
underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
.
[A-Za-z0-9-._~:/?#&=,]+
.public void setVariables(Map<String,String> variables)
A map that defines the stage variables for a 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 a Stage resource. Variable names can have alphanumeric
and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
.public Stage withVariables(Map<String,String> variables)
A map that defines the stage variables for a 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 a Stage resource. Variable names can have alphanumeric
and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
.public Stage clearVariablesEntries()
public void setDocumentationVersion(String documentationVersion)
The version of the associated API documentation.
documentationVersion
- The version of the associated API documentation.public String getDocumentationVersion()
The version of the associated API documentation.
public Stage withDocumentationVersion(String documentationVersion)
The version of the associated API documentation.
documentationVersion
- The version of the associated API documentation.public void setCreatedDate(Date createdDate)
The timestamp when the stage was created.
createdDate
- The timestamp when the stage was created.public Date getCreatedDate()
The timestamp when the stage was created.
public Stage withCreatedDate(Date createdDate)
The timestamp when the stage was created.
createdDate
- The timestamp when the stage was created.public void setLastUpdatedDate(Date lastUpdatedDate)
The timestamp when the stage last updated.
lastUpdatedDate
- The timestamp when the stage last updated.public Date getLastUpdatedDate()
The timestamp when the stage last updated.
public Stage withLastUpdatedDate(Date lastUpdatedDate)
The timestamp when the stage last updated.
lastUpdatedDate
- The timestamp when the stage last updated.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.