Class GetResourceRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.apigateway.model.GetResourceRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class GetResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to list information about a resource.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetResourceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetResourceRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetResourceId()The identifier for the Resource resource.StringgetRestApiId()The RestApi identifier for the resource.inthashCode()voidsetResourceId(String resourceId)The identifier for the Resource resource.voidsetRestApiId(String restApiId)The RestApi identifier for the resource.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetResourceRequestwithResourceId(String resourceId)The identifier for the Resource resource.GetResourceRequestwithRestApiId(String restApiId)The RestApi identifier for the resource.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setRestApiId
public void setRestApiId(String restApiId)
The RestApi identifier for the resource.
- Parameters:
restApiId- The RestApi identifier for the resource.
-
getRestApiId
public String getRestApiId()
The RestApi identifier for the resource.
- Returns:
- The RestApi identifier for the resource.
-
withRestApiId
public GetResourceRequest withRestApiId(String restApiId)
The RestApi identifier for the resource.
- Parameters:
restApiId- The RestApi identifier for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceId
public void setResourceId(String resourceId)
The identifier for the Resource resource.
- Parameters:
resourceId- The identifier for the Resource resource.
-
getResourceId
public String getResourceId()
The identifier for the Resource resource.
- Returns:
- The identifier for the Resource resource.
-
withResourceId
public GetResourceRequest withResourceId(String resourceId)
The identifier for the Resource resource.
- Parameters:
resourceId- The identifier for the Resource resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetResourceRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-