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 GetResourceRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getResourceId()
The identifier for the Resource resource.String
getRestApiId()
The RestApi identifier for the resource.int
hashCode()
void
setResourceId(String resourceId)
The identifier for the Resource resource.void
setRestApiId(String restApiId)
The RestApi identifier for the resource.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetResourceRequest
withResourceId(String resourceId)
The identifier for the Resource resource.GetResourceRequest
withRestApiId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetResourceRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-