public class GetResourceRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to list information about a resource.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resourceId
The identifier for the Resource resource.
|
private java.lang.String |
restApiId
The RestApi identifier for the resource.
|
NOOP
Constructor and Description |
---|
GetResourceRequest() |
Modifier and Type | Method and Description |
---|---|
GetResourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceId()
The identifier for the Resource resource.
|
java.lang.String |
getRestApiId()
The RestApi identifier for the resource.
|
int |
hashCode() |
void |
setResourceId(java.lang.String resourceId)
The identifier for the Resource resource.
|
void |
setRestApiId(java.lang.String restApiId)
The RestApi identifier for the resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetResourceRequest |
withResourceId(java.lang.String resourceId)
The identifier for the Resource resource.
|
GetResourceRequest |
withRestApiId(java.lang.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
private java.lang.String restApiId
The RestApi identifier for the resource.
private java.lang.String resourceId
The identifier for the Resource resource.
public void setRestApiId(java.lang.String restApiId)
The RestApi identifier for the resource.
restApiId
- The RestApi identifier for the resource.public java.lang.String getRestApiId()
The RestApi identifier for the resource.
public GetResourceRequest withRestApiId(java.lang.String restApiId)
The RestApi identifier for the resource.
restApiId
- The RestApi identifier for the resource.public void setResourceId(java.lang.String resourceId)
The identifier for the Resource resource.
resourceId
- The identifier for the Resource resource.public java.lang.String getResourceId()
The identifier for the Resource resource.
public GetResourceRequest withResourceId(java.lang.String resourceId)
The identifier for the Resource resource.
resourceId
- The identifier for the Resource resource.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()