Class GetResourceRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.apigateway.model.GetResourceRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Request to list information about a resource.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The identifier for the Resource resource.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.toString()
Returns a string representation of this object; useful for testing and debugging.withResourceId
(String resourceId) The identifier for the Resource resource.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
-
Constructor Details
-
GetResourceRequest
public GetResourceRequest()
-
-
Method Details
-
setRestApiId
The RestApi identifier for the resource.
- Parameters:
restApiId
- The RestApi identifier for the resource.
-
getRestApiId
The RestApi identifier for the resource.
- Returns:
- The RestApi identifier for the resource.
-
withRestApiId
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
The identifier for the Resource resource.
- Parameters:
resourceId
- The identifier for the Resource resource.
-
getResourceId
The identifier for the Resource resource.
- Returns:
- The identifier for the Resource resource.
-
withResourceId
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-