public class CreateStageResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents a unique identifier for a version of a deployed RestApi that is callable by users.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
cacheClusterEnabled
Specifies whether a cache cluster is enabled for the stage.
|
private java.lang.String |
cacheClusterSize
The size of the cache cluster for the stage, if enabled.
|
private java.lang.String |
cacheClusterStatus
The status of the cache cluster for the stage, if enabled.
|
private java.lang.String |
clientCertificateId |
private java.util.Date |
createdDate
The date and time that the stage was created, in ISO 8601 format.
|
private java.lang.String |
deploymentId
The identifier of the Deployment that the stage points to.
|
private java.lang.String |
description
The stage's description.
|
private java.util.Date |
lastUpdatedDate
The date and time that information about the stage was last updated, in
ISO 8601 format.
|
private java.util.Map<java.lang.String,MethodSetting> |
methodSettings
A map that defines the method settings for a Stage resource.
|
private java.lang.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.
|
private java.util.Map<java.lang.String,java.lang.String> |
variables
A map that defines the stage variables for a Stage resource.
|
Constructor and Description |
---|
CreateStageResult() |
Modifier and Type | Method and Description |
---|---|
CreateStageResult |
addMethodSettingsEntry(java.lang.String key,
MethodSetting value) |
CreateStageResult |
addVariablesEntry(java.lang.String key,
java.lang.String value) |
CreateStageResult |
clearMethodSettingsEntries()
Removes all the entries added into MethodSettings.
|
CreateStageResult |
clearVariablesEntries()
Removes all the entries added into Variables.
|
CreateStageResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCacheClusterEnabled()
Specifies whether a cache cluster is enabled for the stage.
|
java.lang.String |
getCacheClusterSize()
The size of the cache cluster for the stage, if enabled.
|
java.lang.String |
getCacheClusterStatus()
The status of the cache cluster for the stage, if enabled.
|
java.lang.String |
getClientCertificateId() |
java.util.Date |
getCreatedDate()
The date and time that the stage was created, in ISO 8601 format.
|
java.lang.String |
getDeploymentId()
The identifier of the Deployment that the stage points to.
|
java.lang.String |
getDescription()
The stage's description.
|
java.util.Date |
getLastUpdatedDate()
The date and time that information about the stage was last updated, in
ISO 8601 format.
|
java.util.Map<java.lang.String,MethodSetting> |
getMethodSettings()
A map that defines the method settings for a Stage resource.
|
java.lang.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.
|
java.util.Map<java.lang.String,java.lang.String> |
getVariables()
A map that defines the stage variables for a Stage resource.
|
int |
hashCode() |
java.lang.Boolean |
isCacheClusterEnabled()
Specifies whether a cache cluster is enabled for the stage.
|
void |
setCacheClusterEnabled(java.lang.Boolean cacheClusterEnabled)
Specifies whether a cache cluster is enabled for the stage.
|
void |
setCacheClusterSize(java.lang.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(java.lang.String cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
|
void |
setClientCertificateId(java.lang.String clientCertificateId) |
void |
setCreatedDate(java.util.Date createdDate)
The date and time that the stage was created, in ISO 8601 format.
|
void |
setDeploymentId(java.lang.String deploymentId)
The identifier of the Deployment that the stage points to.
|
void |
setDescription(java.lang.String description)
The stage's description.
|
void |
setLastUpdatedDate(java.util.Date lastUpdatedDate)
The date and time that information about the stage was last updated, in
ISO 8601 format.
|
void |
setMethodSettings(java.util.Map<java.lang.String,MethodSetting> methodSettings)
A map that defines the method settings for a Stage resource.
|
void |
setStageName(java.lang.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(java.util.Map<java.lang.String,java.lang.String> variables)
A map that defines the stage variables for a Stage resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateStageResult |
withCacheClusterEnabled(java.lang.Boolean cacheClusterEnabled)
Specifies whether a cache cluster is enabled for the stage.
|
CreateStageResult |
withCacheClusterSize(java.lang.String cacheClusterSize)
The size of the cache cluster for the stage, if enabled.
|
CreateStageResult |
withCacheClusterStatus(CacheClusterStatus cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
|
CreateStageResult |
withCacheClusterStatus(java.lang.String cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
|
CreateStageResult |
withClientCertificateId(java.lang.String clientCertificateId) |
CreateStageResult |
withCreatedDate(java.util.Date createdDate)
The date and time that the stage was created, in ISO 8601 format.
|
CreateStageResult |
withDeploymentId(java.lang.String deploymentId)
The identifier of the Deployment that the stage points to.
|
CreateStageResult |
withDescription(java.lang.String description)
The stage's description.
|
CreateStageResult |
withLastUpdatedDate(java.util.Date lastUpdatedDate)
The date and time that information about the stage was last updated, in
ISO 8601 format.
|
CreateStageResult |
withMethodSettings(java.util.Map<java.lang.String,MethodSetting> methodSettings)
A map that defines the method settings for a Stage resource.
|
CreateStageResult |
withStageName(java.lang.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.
|
CreateStageResult |
withVariables(java.util.Map<java.lang.String,java.lang.String> variables)
A map that defines the stage variables for a Stage resource.
|
private java.lang.String deploymentId
The identifier of the Deployment that the stage points to.
private java.lang.String clientCertificateId
private java.lang.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.
private java.lang.String description
The stage's description.
private java.lang.Boolean cacheClusterEnabled
Specifies whether a cache cluster is enabled for the stage.
private java.lang.String cacheClusterSize
The size of the cache cluster for the stage, if enabled.
private java.lang.String cacheClusterStatus
The status of the cache cluster for the stage, if enabled.
private java.util.Map<java.lang.String,MethodSetting> methodSettings
A map that defines the method settings for a Stage resource. Keys
are defined as {resource_path}/{http_method}
for an
individual method override, or \*/\*
for the settings
applied to all methods in the stage.
private java.util.Map<java.lang.String,java.lang.String> variables
A map that defines the stage variables for a Stage resource.
Variable names can have alphanumeric characters, and the values must
match [A-Za-z0-9-._~:/?#&=,]+
.
private java.util.Date createdDate
The date and time that the stage was created, in ISO 8601 format.
private java.util.Date lastUpdatedDate
The date and time that information about the stage was last updated, in ISO 8601 format.
public void setDeploymentId(java.lang.String deploymentId)
The identifier of the Deployment that the stage points to.
deploymentId
- The identifier of the Deployment that the stage points to.public java.lang.String getDeploymentId()
The identifier of the Deployment that the stage points to.
public CreateStageResult withDeploymentId(java.lang.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(java.lang.String clientCertificateId)
clientCertificateId
- public java.lang.String getClientCertificateId()
public CreateStageResult withClientCertificateId(java.lang.String clientCertificateId)
clientCertificateId
- public void setStageName(java.lang.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 java.lang.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 CreateStageResult withStageName(java.lang.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(java.lang.String description)
The stage's description.
description
- The stage's description.public java.lang.String getDescription()
The stage's description.
public CreateStageResult withDescription(java.lang.String description)
The stage's description.
description
- The stage's description.public void setCacheClusterEnabled(java.lang.Boolean cacheClusterEnabled)
Specifies whether a cache cluster is enabled for the stage.
cacheClusterEnabled
- Specifies whether a cache cluster is enabled for the stage.public java.lang.Boolean getCacheClusterEnabled()
Specifies whether a cache cluster is enabled for the stage.
public CreateStageResult withCacheClusterEnabled(java.lang.Boolean cacheClusterEnabled)
Specifies whether a cache cluster is enabled for the stage.
cacheClusterEnabled
- Specifies whether a cache cluster is enabled for the stage.public java.lang.Boolean isCacheClusterEnabled()
Specifies whether a cache cluster is enabled for the stage.
public void setCacheClusterSize(java.lang.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 java.lang.String getCacheClusterSize()
The size of the cache cluster for the stage, if enabled.
public CreateStageResult withCacheClusterSize(java.lang.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(java.lang.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 java.lang.String getCacheClusterStatus()
The status of the cache cluster for the stage, if enabled.
CacheClusterStatus
public CreateStageResult withCacheClusterStatus(java.lang.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 CreateStageResult 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 java.util.Map<java.lang.String,MethodSetting> getMethodSettings()
A map that defines the method settings for a Stage resource. Keys
are defined as {resource_path}/{http_method}
for an
individual method override, or \*/\*
for the settings
applied to all methods in the stage.
{resource_path}/{http_method}
for an individual
method override, or \*/\*
for the settings
applied to all methods in the stage.public void setMethodSettings(java.util.Map<java.lang.String,MethodSetting> methodSettings)
A map that defines the method settings for a Stage resource. Keys
are defined as {resource_path}/{http_method}
for an
individual method override, or \*/\*
for the settings
applied to all methods in the stage.
methodSettings
- A map that defines the method settings for a Stage
resource. Keys are defined as
{resource_path}/{http_method}
for an individual
method override, or \*/\*
for the settings
applied to all methods in the stage.public CreateStageResult withMethodSettings(java.util.Map<java.lang.String,MethodSetting> methodSettings)
A map that defines the method settings for a Stage resource. Keys
are defined as {resource_path}/{http_method}
for an
individual method override, or \*/\*
for the settings
applied to all methods in the stage.
methodSettings
- A map that defines the method settings for a Stage
resource. Keys are defined as
{resource_path}/{http_method}
for an individual
method override, or \*/\*
for the settings
applied to all methods in the stage.public CreateStageResult addMethodSettingsEntry(java.lang.String key, MethodSetting value)
public CreateStageResult clearMethodSettingsEntries()
public java.util.Map<java.lang.String,java.lang.String> getVariables()
A map that defines the stage variables for a Stage resource.
Variable names can have alphanumeric characters, and the values must
match [A-Za-z0-9-._~:/?#&=,]+
.
[A-Za-z0-9-._~:/?#&=,]+
.public void setVariables(java.util.Map<java.lang.String,java.lang.String> variables)
A map that defines the stage variables for a Stage resource.
Variable names can have alphanumeric 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 characters, and the
values must match [A-Za-z0-9-._~:/?#&=,]+
.public CreateStageResult withVariables(java.util.Map<java.lang.String,java.lang.String> variables)
A map that defines the stage variables for a Stage resource.
Variable names can have alphanumeric 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 characters, and the
values must match [A-Za-z0-9-._~:/?#&=,]+
.public CreateStageResult addVariablesEntry(java.lang.String key, java.lang.String value)
public CreateStageResult clearVariablesEntries()
public void setCreatedDate(java.util.Date createdDate)
The date and time that the stage was created, in ISO 8601 format.
createdDate
- The date and time that the stage was created, in ISO 8601 format.public java.util.Date getCreatedDate()
The date and time that the stage was created, in ISO 8601 format.
public CreateStageResult withCreatedDate(java.util.Date createdDate)
The date and time that the stage was created, in ISO 8601 format.
createdDate
- The date and time that the stage was created, in ISO 8601 format.public void setLastUpdatedDate(java.util.Date lastUpdatedDate)
The date and time that information about the stage was last updated, in ISO 8601 format.
lastUpdatedDate
- The date and time that information about the stage was last
updated, in ISO 8601 format.public java.util.Date getLastUpdatedDate()
The date and time that information about the stage was last updated, in ISO 8601 format.
public CreateStageResult withLastUpdatedDate(java.util.Date lastUpdatedDate)
The date and time that information about the stage was last updated, in ISO 8601 format.
lastUpdatedDate
- The date and time that information about the stage was last
updated, in ISO 8601 format.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateStageResult clone()
clone
in class java.lang.Object