@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetStageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Requests API Gateway to get information about a Stage resource.
NOOP
Constructor and Description |
---|
GetStageRequest() |
Modifier and Type | Method and Description |
---|---|
GetStageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRestApiId()
[Required] The string identifier of the associated RestApi.
|
String |
getStageName()
[Required] The name of the Stage resource to get information about.
|
int |
hashCode() |
void |
setRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
void |
setStageName(String stageName)
[Required] The name of the Stage resource to get information about.
|
String |
toString()
Returns a string representation of this object.
|
GetStageRequest |
withRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
GetStageRequest |
withStageName(String stageName)
[Required] The name of the Stage resource to get information about.
|
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 setRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId
- [Required] The string identifier of the associated RestApi.public String getRestApiId()
[Required] The string identifier of the associated RestApi.
public GetStageRequest withRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId
- [Required] The string identifier of the associated RestApi.public void setStageName(String stageName)
[Required] The name of the Stage resource to get information about.
stageName
- [Required] The name of the Stage resource to get information about.public String getStageName()
[Required] The name of the Stage resource to get information about.
public GetStageRequest withStageName(String stageName)
[Required] The name of the Stage resource to get information about.
stageName
- [Required] The name of the Stage resource to get information about.public String toString()
toString
in class Object
Object.toString()
public GetStageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.