@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a new Stage resource to represent a stage.
NOOP
Constructor and Description |
---|
CreateStageRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStageRequest |
addRouteSettingsEntry(String key,
RouteSettings value)
Add a single RouteSettings entry
|
CreateStageRequest |
addStageVariablesEntry(String key,
String value)
Add a single StageVariables entry
|
CreateStageRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateStageRequest |
clearRouteSettingsEntries()
Removes all the entries added into RouteSettings.
|
CreateStageRequest |
clearStageVariablesEntries()
Removes all the entries added into StageVariables.
|
CreateStageRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateStageRequest |
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 of the API stage.
|
String |
getDescription()
The description for the API stage.
|
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.
|
Map<String,String> |
getTags()
The collection of tags.
|
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 of the API stage.
|
void |
setDescription(String description)
The description for the API stage.
|
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.
|
void |
setTags(Map<String,String> tags)
The collection of tags.
|
String |
toString()
Returns a string representation of this object.
|
CreateStageRequest |
withAccessLogSettings(AccessLogSettings accessLogSettings)
Settings for logging access in this stage.
|
CreateStageRequest |
withApiId(String apiId)
The API identifier.
|
CreateStageRequest |
withAutoDeploy(Boolean autoDeploy)
Specifies whether updates to an API automatically trigger a new deployment.
|
CreateStageRequest |
withClientCertificateId(String clientCertificateId)
The identifier of a client certificate for a Stage.
|
CreateStageRequest |
withDefaultRouteSettings(RouteSettings defaultRouteSettings)
The default route settings for the stage.
|
CreateStageRequest |
withDeploymentId(String deploymentId)
The deployment identifier of the API stage.
|
CreateStageRequest |
withDescription(String description)
The description for the API stage.
|
CreateStageRequest |
withRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage, by routeKey.
|
CreateStageRequest |
withStageName(String stageName)
The name of the stage.
|
CreateStageRequest |
withStageVariables(Map<String,String> stageVariables)
A map that defines the stage variables for a Stage.
|
CreateStageRequest |
withTags(Map<String,String> tags)
The collection of tags.
|
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 CreateStageRequest 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 CreateStageRequest 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 CreateStageRequest 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 CreateStageRequest 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 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 CreateStageRequest 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 of the API stage.
deploymentId
- The deployment identifier of the API stage.public String getDeploymentId()
The deployment identifier of the API stage.
public CreateStageRequest withDeploymentId(String deploymentId)
The deployment identifier of the API stage.
deploymentId
- The deployment identifier of the API stage.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 CreateStageRequest 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, 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 CreateStageRequest withRouteSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage, by routeKey.
routeSettings
- Route settings for the stage, by routeKey.public CreateStageRequest addRouteSettingsEntry(String key, RouteSettings value)
public CreateStageRequest 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 CreateStageRequest 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. 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 CreateStageRequest 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 CreateStageRequest addStageVariablesEntry(String key, String value)
public CreateStageRequest 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 CreateStageRequest 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 CreateStageRequest addTagsEntry(String key, String value)
public CreateStageRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateStageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()