public class CreateStageResult extends Object implements Serializable, Cloneable
Represents a unique identifier for a version of a deployed RestApi that is callable by users.
Constructor and Description |
---|
CreateStageResult() |
Modifier and Type | Method and Description |
---|---|
CreateStageResult |
addMethodSettingsEntry(String key,
MethodSetting value) |
CreateStageResult |
addVariablesEntry(String key,
String value) |
CreateStageResult |
clearMethodSettingsEntries()
Removes all the entries added into MethodSettings.
|
CreateStageResult |
clearVariablesEntries()
Removes all the entries added into Variables.
|
CreateStageResult |
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() |
Date |
getCreatedDate()
The date and time that the stage was created, in ISO 8601 format.
|
String |
getDeploymentId()
The identifier of the Deployment that the stage points to.
|
String |
getDescription()
The stage's description.
|
Date |
getLastUpdatedDate()
The date and time that information about the stage was last updated, in
ISO 8601 format.
|
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 |
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) |
void |
setCreatedDate(Date createdDate)
The date and time that the stage was created, in ISO 8601 format.
|
void |
setDeploymentId(String deploymentId)
The identifier of the Deployment that the stage points to.
|
void |
setDescription(String description)
The stage's description.
|
void |
setLastUpdatedDate(Date lastUpdatedDate)
The date and time that information about the stage was last updated, in
ISO 8601 format.
|
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.
|
CreateStageResult |
withCacheClusterEnabled(Boolean cacheClusterEnabled)
Specifies whether a cache cluster is enabled for the stage.
|
CreateStageResult |
withCacheClusterSize(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(String cacheClusterStatus)
The status of the cache cluster for the stage, if enabled.
|
CreateStageResult |
withClientCertificateId(String clientCertificateId) |
CreateStageResult |
withCreatedDate(Date createdDate)
The date and time that the stage was created, in ISO 8601 format.
|
CreateStageResult |
withDeploymentId(String deploymentId)
The identifier of the Deployment that the stage points to.
|
CreateStageResult |
withDescription(String description)
The stage's description.
|
CreateStageResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date and time that information about the stage was last updated, in
ISO 8601 format.
|
CreateStageResult |
withMethodSettings(Map<String,MethodSetting> methodSettings)
A map that defines the method settings for a Stage resource.
|
CreateStageResult |
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.
|
CreateStageResult |
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 CreateStageResult 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)
clientCertificateId
- public String getClientCertificateId()
public CreateStageResult withClientCertificateId(String clientCertificateId)
clientCertificateId
- 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 CreateStageResult 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 CreateStageResult 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 CreateStageResult 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 CreateStageResult 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 CreateStageResult 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 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 Map<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(Map<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(Map<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(String key, MethodSetting value)
public CreateStageResult clearMethodSettingsEntries()
public Map<String,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(Map<String,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(Map<String,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(String key, String value)
public CreateStageResult clearVariablesEntries()
public void setCreatedDate(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 Date getCreatedDate()
The date and time that the stage was created, in ISO 8601 format.
public CreateStageResult withCreatedDate(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(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 Date getLastUpdatedDate()
The date and time that information about the stage was last updated, in ISO 8601 format.
public CreateStageResult withLastUpdatedDate(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 String toString()
toString
in class Object
Object.toString()
public CreateStageResult clone()
Copyright © 2018. All rights reserved.