public class GetResourcesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to list information about a collection of resources.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
limit
The maximum number of Resource resources in the collection to get
information about.
|
private java.lang.String |
position
The position of the next set of results in the current Resources
resource to get information about.
|
private java.lang.String |
restApiId
The RestApi identifier for the Resource.
|
NOOP
Constructor and Description |
---|
GetResourcesRequest() |
Modifier and Type | Method and Description |
---|---|
GetResourcesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getLimit()
The maximum number of Resource resources in the collection to get
information about.
|
java.lang.String |
getPosition()
The position of the next set of results in the current Resources
resource to get information about.
|
java.lang.String |
getRestApiId()
The RestApi identifier for the Resource.
|
int |
hashCode() |
void |
setLimit(java.lang.Integer limit)
The maximum number of Resource resources in the collection to get
information about.
|
void |
setPosition(java.lang.String position)
The position of the next set of results in the current Resources
resource to get information about.
|
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.
|
GetResourcesRequest |
withLimit(java.lang.Integer limit)
The maximum number of Resource resources in the collection to get
information about.
|
GetResourcesRequest |
withPosition(java.lang.String position)
The position of the next set of results in the current Resources
resource to get information about.
|
GetResourcesRequest |
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 position
The position of the next set of results in the current Resources resource to get information about.
private java.lang.Integer limit
The maximum number of Resource resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.
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 GetResourcesRequest withRestApiId(java.lang.String restApiId)
The RestApi identifier for the Resource.
restApiId
- The RestApi identifier for the Resource.public void setPosition(java.lang.String position)
The position of the next set of results in the current Resources resource to get information about.
position
- The position of the next set of results in the current
Resources resource to get information about.public java.lang.String getPosition()
The position of the next set of results in the current Resources resource to get information about.
public GetResourcesRequest withPosition(java.lang.String position)
The position of the next set of results in the current Resources resource to get information about.
position
- The position of the next set of results in the current
Resources resource to get information about.public void setLimit(java.lang.Integer limit)
The maximum number of Resource resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.
limit
- The maximum number of Resource resources in the collection
to get information about. The default limit is 25. It should be an
integer between 1 - 500.public java.lang.Integer getLimit()
The maximum number of Resource resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.
public GetResourcesRequest withLimit(java.lang.Integer limit)
The maximum number of Resource resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.
limit
- The maximum number of Resource resources in the collection
to get information about. The default limit is 25. It should be an
integer between 1 - 500.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 GetResourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()