public class GetResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to list information about a resource.
NOOP
Constructor and Description |
---|
GetResourceRequest() |
Modifier and Type | Method and Description |
---|---|
GetResourceRequest |
clone() |
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.
|
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
public void setRestApiId(String restApiId)
The RestApi identifier for the resource.
restApiId
- The RestApi identifier for the resource.public String getRestApiId()
The RestApi identifier for the resource.
public GetResourceRequest withRestApiId(String restApiId)
The RestApi identifier for the resource.
restApiId
- The RestApi identifier for the resource.public void setResourceId(String resourceId)
The identifier for the Resource resource.
resourceId
- The identifier for the Resource resource.public String getResourceId()
The identifier for the Resource resource.
public GetResourceRequest withResourceId(String resourceId)
The identifier for the Resource resource.
resourceId
- The identifier for the Resource resource.public String toString()
toString
in class Object
Object.toString()
public GetResourceRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.