@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateStageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Updates a Stage.
NOOP
Constructor and Description |
---|
UpdateStageRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateStageRequest |
addRouteSettingsEntry(String key,
RouteSettings value)
Add a single RouteSettings entry
|
UpdateStageRequest |
addStageVariablesEntry(String key,
String value)
Add a single StageVariables entry
|
UpdateStageRequest |
clearRouteSettingsEntries()
Removes all the entries added into RouteSettings.
|
UpdateStageRequest |
clearStageVariablesEntries()
Removes all the entries added into StageVariables.
|
UpdateStageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AccessLogSettings |
getAccessLogSettings()
Settings for logging access in this stage.
|
String |
getApiId()
The API identifier.
|
Boolean |
getAutoDeploy()
Specifies whether updates to an API automatically trigger a new deployment.
|
String |
getClientCertificateId()
The identifier of a client certificate for a Stage.
|
RouteSettings |
getDefaultRouteSettings()
The default route settings for the stage.
|
String |
getDeploymentId()
The deployment identifier for the API stage.
|
String |
getDescription()
The description for the API stage.
|
Map<String,RouteSettings> |
getRouteSettings()
Route settings for the stage.
|
String |
getStageName()
The stage name.
|
Map<String,String> |
getStageVariables()
A map that defines the stage variables for a Stage.
|
int |
hashCode() |
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 |
setApiId(String apiId)
The API identifier.
|
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 |
setDefaultRouteSettings(RouteSettings defaultRouteSettings)
The default route settings for the stage.
|
void |
setDeploymentId(String deploymentId)
The deployment identifier for the API stage.
|
void |
setDescription(String description)
The description for the API stage.
|
void |
setRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage.
|
void |
setStageName(String stageName)
The stage name.
|
void |
setStageVariables(Map<String,String> stageVariables)
A map that defines the stage variables for a Stage.
|
String |
toString()
Returns a string representation of this object.
|
UpdateStageRequest |
withAccessLogSettings(AccessLogSettings accessLogSettings)
Settings for logging access in this stage.
|
UpdateStageRequest |
withApiId(String apiId)
The API identifier.
|
UpdateStageRequest |
withAutoDeploy(Boolean autoDeploy)
Specifies whether updates to an API automatically trigger a new deployment.
|
UpdateStageRequest |
withClientCertificateId(String clientCertificateId)
The identifier of a client certificate for a Stage.
|
UpdateStageRequest |
withDefaultRouteSettings(RouteSettings defaultRouteSettings)
The default route settings for the stage.
|
UpdateStageRequest |
withDeploymentId(String deploymentId)
The deployment identifier for the API stage.
|
UpdateStageRequest |
withDescription(String description)
The description for the API stage.
|
UpdateStageRequest |
withRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage.
|
UpdateStageRequest |
withStageName(String stageName)
The stage name.
|
UpdateStageRequest |
withStageVariables(Map<String,String> stageVariables)
A map that defines the stage variables for a Stage.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 UpdateStageRequest withAccessLogSettings(AccessLogSettings accessLogSettings)
Settings for logging access in this stage.
accessLogSettings
- Settings for logging access in this stage.public void setApiId(String apiId)
The API identifier.
apiId
- The API identifier.public String getApiId()
The API identifier.
public UpdateStageRequest withApiId(String apiId)
The API identifier.
apiId
- The API identifier.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 UpdateStageRequest 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.
clientCertificateId
- The identifier of a client certificate for a Stage.public String getClientCertificateId()
The identifier of a client certificate for a Stage.
public UpdateStageRequest withClientCertificateId(String clientCertificateId)
The identifier of a client certificate for a Stage.
clientCertificateId
- The identifier of a client certificate for a Stage.public void setDefaultRouteSettings(RouteSettings defaultRouteSettings)
The default route settings for the stage.
defaultRouteSettings
- The default route settings for the stage.public RouteSettings getDefaultRouteSettings()
The default route settings for the stage.
public UpdateStageRequest withDefaultRouteSettings(RouteSettings defaultRouteSettings)
The default route settings for the stage.
defaultRouteSettings
- The default route settings for the stage.public void setDeploymentId(String deploymentId)
The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.
deploymentId
- The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.public String getDeploymentId()
The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.
public UpdateStageRequest withDeploymentId(String deploymentId)
The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.
deploymentId
- The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.public void setDescription(String description)
The description for the API stage.
description
- The description for the API stage.public String getDescription()
The description for the API stage.
public UpdateStageRequest withDescription(String description)
The description for the API stage.
description
- The description for the API stage.public Map<String,RouteSettings> getRouteSettings()
Route settings for the stage.
public void setRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage.
routeSettings
- Route settings for the stage.public UpdateStageRequest withRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage.
routeSettings
- Route settings for the stage.public UpdateStageRequest addRouteSettingsEntry(String key, RouteSettings value)
public UpdateStageRequest clearRouteSettingsEntries()
public void setStageName(String stageName)
The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.
stageName
- The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be
$default. Maximum length is 128 characters.public String getStageName()
The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.
public UpdateStageRequest withStageName(String stageName)
The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.
stageName
- The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be
$default. Maximum length is 128 characters.public Map<String,String> getStageVariables()
A map that defines the stage variables for a Stage. 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. 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. Variable names can have alphanumeric and underscore
characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.public UpdateStageRequest withStageVariables(Map<String,String> stageVariables)
A map that defines the stage variables for a Stage. 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. Variable names can have alphanumeric and underscore
characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.public UpdateStageRequest addStageVariablesEntry(String key, String value)
public UpdateStageRequest clearStageVariablesEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateStageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()