@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateStageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateStageResult() |
Modifier and Type | Method and Description |
---|---|
UpdateStageResult |
addRouteSettingsEntry(String key,
RouteSettings value)
Add a single RouteSettings entry
|
UpdateStageResult |
addStageVariablesEntry(String key,
String value)
Add a single StageVariables entry
|
UpdateStageResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
UpdateStageResult |
clearRouteSettingsEntries()
Removes all the entries added into RouteSettings.
|
UpdateStageResult |
clearStageVariablesEntries()
Removes all the entries added into StageVariables.
|
UpdateStageResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
UpdateStageResult |
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.
|
UpdateStageResult |
withAccessLogSettings(AccessLogSettings accessLogSettings)
Settings for logging access in this stage.
|
UpdateStageResult |
withApiGatewayManaged(Boolean apiGatewayManaged)
Specifies whether a stage is managed by API Gateway.
|
UpdateStageResult |
withAutoDeploy(Boolean autoDeploy)
Specifies whether updates to an API automatically trigger a new deployment.
|
UpdateStageResult |
withClientCertificateId(String clientCertificateId)
The identifier of a client certificate for a Stage.
|
UpdateStageResult |
withCreatedDate(Date createdDate)
The timestamp when the stage was created.
|
UpdateStageResult |
withDefaultRouteSettings(RouteSettings defaultRouteSettings)
Default route settings for the stage.
|
UpdateStageResult |
withDeploymentId(String deploymentId)
The identifier of the Deployment that the Stage is associated with.
|
UpdateStageResult |
withDescription(String description)
The description of the stage.
|
UpdateStageResult |
withLastDeploymentStatusMessage(String lastDeploymentStatusMessage)
Describes the status of the last deployment of a stage.
|
UpdateStageResult |
withLastUpdatedDate(Date lastUpdatedDate)
The timestamp when the stage was last updated.
|
UpdateStageResult |
withRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage, by routeKey.
|
UpdateStageResult |
withStageName(String stageName)
The name of the stage.
|
UpdateStageResult |
withStageVariables(Map<String,String> stageVariables)
A map that defines the stage variables for a stage resource.
|
UpdateStageResult |
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 UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult withRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage, by routeKey.
routeSettings
- Route settings for the stage, by routeKey.public UpdateStageResult addRouteSettingsEntry(String key, RouteSettings value)
public UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult addStageVariablesEntry(String key, String value)
public UpdateStageResult 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 UpdateStageResult 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 UpdateStageResult addTagsEntry(String key, String value)
public UpdateStageResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateStageResult clone()