@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetStageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetStageResult() |
Modifier and Type | Method and Description |
---|---|
GetStageResult |
addRouteSettingsEntry(String key,
RouteSettings value)
Add a single RouteSettings entry
|
GetStageResult |
addStageVariablesEntry(String key,
String value)
Add a single StageVariables entry
|
GetStageResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetStageResult |
clearRouteSettingsEntries()
Removes all the entries added into RouteSettings.
|
GetStageResult |
clearStageVariablesEntries()
Removes all the entries added into StageVariables.
|
GetStageResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetStageResult |
clone() |
boolean |
equals(Object obj) |
AccessLogSettings |
getAccessLogSettings()
Settings for logging access in this stage.
|
Boolean |
getApiGatewayManaged()
Specifies whether a stage is managed by API Gateway.
|
Boolean |
getAutoDeploy()
Specifies whether updates to an API automatically trigger a new deployment.
|
String |
getClientCertificateId()
The identifier of a client certificate for a Stage.
|
Date |
getCreatedDate()
The timestamp when the stage was created.
|
RouteSettings |
getDefaultRouteSettings()
Default route settings for the stage.
|
String |
getDeploymentId()
The identifier of the Deployment that the Stage is associated with.
|
String |
getDescription()
The description of the stage.
|
String |
getLastDeploymentStatusMessage()
Describes the status of the last deployment of a stage.
|
Date |
getLastUpdatedDate()
The timestamp when the stage was last updated.
|
Map<String,RouteSettings> |
getRouteSettings()
Route settings for the stage, by routeKey.
|
String |
getStageName()
The name of the stage.
|
Map<String,String> |
getStageVariables()
A map that defines the stage variables for a stage resource.
|
Map<String,String> |
getTags()
The collection of tags.
|
int |
hashCode() |
Boolean |
isApiGatewayManaged()
Specifies whether a stage is managed by API Gateway.
|
Boolean |
isAutoDeploy()
Specifies whether updates to an API automatically trigger a new deployment.
|
void |
setAccessLogSettings(AccessLogSettings accessLogSettings)
Settings for logging access in this stage.
|
void |
setApiGatewayManaged(Boolean apiGatewayManaged)
Specifies whether a stage is managed by API Gateway.
|
void |
setAutoDeploy(Boolean autoDeploy)
Specifies whether updates to an API automatically trigger a new deployment.
|
void |
setClientCertificateId(String clientCertificateId)
The identifier of a client certificate for a Stage.
|
void |
setCreatedDate(Date createdDate)
The timestamp when the stage was created.
|
void |
setDefaultRouteSettings(RouteSettings defaultRouteSettings)
Default route settings for the stage.
|
void |
setDeploymentId(String deploymentId)
The identifier of the Deployment that the Stage is associated with.
|
void |
setDescription(String description)
The description of the stage.
|
void |
setLastDeploymentStatusMessage(String lastDeploymentStatusMessage)
Describes the status of the last deployment of a stage.
|
void |
setLastUpdatedDate(Date lastUpdatedDate)
The timestamp when the stage was last updated.
|
void |
setRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage, by routeKey.
|
void |
setStageName(String stageName)
The name of the stage.
|
void |
setStageVariables(Map<String,String> stageVariables)
A map that defines the stage variables for a stage resource.
|
void |
setTags(Map<String,String> tags)
The collection of tags.
|
String |
toString()
Returns a string representation of this object.
|
GetStageResult |
withAccessLogSettings(AccessLogSettings accessLogSettings)
Settings for logging access in this stage.
|
GetStageResult |
withApiGatewayManaged(Boolean apiGatewayManaged)
Specifies whether a stage is managed by API Gateway.
|
GetStageResult |
withAutoDeploy(Boolean autoDeploy)
Specifies whether updates to an API automatically trigger a new deployment.
|
GetStageResult |
withClientCertificateId(String clientCertificateId)
The identifier of a client certificate for a Stage.
|
GetStageResult |
withCreatedDate(Date createdDate)
The timestamp when the stage was created.
|
GetStageResult |
withDefaultRouteSettings(RouteSettings defaultRouteSettings)
Default route settings for the stage.
|
GetStageResult |
withDeploymentId(String deploymentId)
The identifier of the Deployment that the Stage is associated with.
|
GetStageResult |
withDescription(String description)
The description of the stage.
|
GetStageResult |
withLastDeploymentStatusMessage(String lastDeploymentStatusMessage)
Describes the status of the last deployment of a stage.
|
GetStageResult |
withLastUpdatedDate(Date lastUpdatedDate)
The timestamp when the stage was last updated.
|
GetStageResult |
withRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage, by routeKey.
|
GetStageResult |
withStageName(String stageName)
The name of the stage.
|
GetStageResult |
withStageVariables(Map<String,String> stageVariables)
A map that defines the stage variables for a stage resource.
|
GetStageResult |
withTags(Map<String,String> tags)
The collection of tags.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAccessLogSettings(AccessLogSettings accessLogSettings)
Settings for logging access in this stage.
accessLogSettings
- Settings for logging access in this stage.public AccessLogSettings getAccessLogSettings()
Settings for logging access in this stage.
public GetStageResult withAccessLogSettings(AccessLogSettings accessLogSettings)
Settings for logging access in this stage.
accessLogSettings
- Settings for logging access in this stage.public void setApiGatewayManaged(Boolean apiGatewayManaged)
Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
apiGatewayManaged
- Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the
$default stage is managed by API Gateway. You can't modify the $default stage.public Boolean getApiGatewayManaged()
Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
public GetStageResult withApiGatewayManaged(Boolean apiGatewayManaged)
Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
apiGatewayManaged
- Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the
$default stage is managed by API Gateway. You can't modify the $default stage.public Boolean isApiGatewayManaged()
Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
public void setAutoDeploy(Boolean autoDeploy)
Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
autoDeploy
- Specifies whether updates to an API automatically trigger a new deployment. The default value is false.public Boolean getAutoDeploy()
Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
public GetStageResult withAutoDeploy(Boolean autoDeploy)
Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
autoDeploy
- Specifies whether updates to an API automatically trigger a new deployment. The default value is false.public Boolean isAutoDeploy()
Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
public void setClientCertificateId(String clientCertificateId)
The identifier of a client certificate for a Stage. Supported only for WebSocket APIs.
clientCertificateId
- The identifier of a client certificate for a Stage. Supported only for WebSocket APIs.public String getClientCertificateId()
The identifier of a client certificate for a Stage. Supported only for WebSocket APIs.
public GetStageResult withClientCertificateId(String clientCertificateId)
The identifier of a client certificate for a Stage. Supported only for WebSocket APIs.
clientCertificateId
- The identifier of a client certificate for a Stage. Supported only for WebSocket APIs.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 GetStageResult withCreatedDate(Date createdDate)
The timestamp when the stage was created.
createdDate
- The timestamp when the stage was created.public void setDefaultRouteSettings(RouteSettings defaultRouteSettings)
Default route settings for the stage.
defaultRouteSettings
- Default route settings for the stage.public RouteSettings getDefaultRouteSettings()
Default route settings for the stage.
public GetStageResult withDefaultRouteSettings(RouteSettings defaultRouteSettings)
Default route settings for the stage.
defaultRouteSettings
- Default route settings for the stage.public void setDeploymentId(String deploymentId)
The identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is enabled.
deploymentId
- The identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is
enabled.public String getDeploymentId()
The identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is enabled.
public GetStageResult withDeploymentId(String deploymentId)
The identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is enabled.
deploymentId
- The identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is
enabled.public void setDescription(String description)
The description of the stage.
description
- The description of the stage.public String getDescription()
The description of the stage.
public GetStageResult withDescription(String description)
The description of the stage.
description
- The description of the stage.public void setLastDeploymentStatusMessage(String lastDeploymentStatusMessage)
Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.
lastDeploymentStatusMessage
- Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.public String getLastDeploymentStatusMessage()
Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.
public GetStageResult withLastDeploymentStatusMessage(String lastDeploymentStatusMessage)
Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.
lastDeploymentStatusMessage
- Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.public void setLastUpdatedDate(Date lastUpdatedDate)
The timestamp when the stage was last updated.
lastUpdatedDate
- The timestamp when the stage was last updated.public Date getLastUpdatedDate()
The timestamp when the stage was last updated.
public GetStageResult withLastUpdatedDate(Date lastUpdatedDate)
The timestamp when the stage was last updated.
lastUpdatedDate
- The timestamp when the stage was last updated.public Map<String,RouteSettings> getRouteSettings()
Route settings for the stage, by routeKey.
public void setRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage, by routeKey.
routeSettings
- Route settings for the stage, by routeKey.public GetStageResult withRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage, by routeKey.
routeSettings
- Route settings for the stage, by routeKey.public GetStageResult addRouteSettingsEntry(String key, RouteSettings value)
public GetStageResult clearRouteSettingsEntries()
public void setStageName(String stageName)
The name of the stage.
stageName
- The name of the stage.public String getStageName()
The name of the stage.
public GetStageResult withStageName(String stageName)
The name of the stage.
stageName
- The name of the stage.public Map<String,String> getStageVariables()
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 void setStageVariables(Map<String,String> stageVariables)
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-._~:/?#&=,]+.
stageVariables
- 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 GetStageResult withStageVariables(Map<String,String> stageVariables)
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-._~:/?#&=,]+.
stageVariables
- 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 GetStageResult addStageVariablesEntry(String key, String value)
public GetStageResult clearStageVariablesEntries()
public Map<String,String> getTags()
The collection of tags. Each tag element is associated with a given resource.
public void setTags(Map<String,String> tags)
The collection of tags. Each tag element is associated with a given resource.
tags
- The collection of tags. Each tag element is associated with a given resource.public GetStageResult withTags(Map<String,String> tags)
The collection of tags. Each tag element is associated with a given resource.
tags
- The collection of tags. Each tag element is associated with a given resource.public GetStageResult addTagsEntry(String key, String value)
public GetStageResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetStageResult clone()