@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to list information about a collection of resources.
NOOP
Constructor and Description |
---|
GetResourcesRequest() |
Modifier and Type | Method and Description |
---|---|
GetResourcesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getEmbed()
A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the
response.
|
Integer |
getLimit()
The maximum number of returned results per page.
|
String |
getPosition()
The current pagination position in the paged result set.
|
String |
getRestApiId()
The string identifier of the associated RestApi.
|
int |
hashCode() |
void |
setEmbed(Collection<String> embed)
A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the
response.
|
void |
setLimit(Integer limit)
The maximum number of returned results per page.
|
void |
setPosition(String position)
The current pagination position in the paged result set.
|
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
String |
toString()
Returns a string representation of this object.
|
GetResourcesRequest |
withEmbed(Collection<String> embed)
A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the
response.
|
GetResourcesRequest |
withEmbed(String... embed)
A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the
response.
|
GetResourcesRequest |
withLimit(Integer limit)
The maximum number of returned results per page.
|
GetResourcesRequest |
withPosition(String position)
The current pagination position in the paged result set.
|
GetResourcesRequest |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public GetResourcesRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public void setPosition(String position)
The current pagination position in the paged result set.
position
- The current pagination position in the paged result set.public String getPosition()
The current pagination position in the paged result set.
public GetResourcesRequest withPosition(String position)
The current pagination position in the paged result set.
position
- The current pagination position in the paged result set.public void setLimit(Integer limit)
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
limit
- The maximum number of returned results per page. The default value is 25 and the maximum value is 500.public Integer getLimit()
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
public GetResourcesRequest withLimit(Integer limit)
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
limit
- The maximum number of returned results per page. The default value is 25 and the maximum value is 500.public List<String> getEmbed()
A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the
response. This embed
parameter value is a list of comma-separated strings. Currently, the request
supports only retrieval of the embedded Method resources this way. The query parameter value must be a
single-valued list and contain the "methods"
string. For example,
GET /restapis/{restapi_id}/resources?embed=methods
.
embed
parameter value is a list of comma-separated strings. Currently,
the request supports only retrieval of the embedded Method resources this way. The query parameter value
must be a single-valued list and contain the "methods"
string. For example,
GET /restapis/{restapi_id}/resources?embed=methods
.public void setEmbed(Collection<String> embed)
A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the
response. This embed
parameter value is a list of comma-separated strings. Currently, the request
supports only retrieval of the embedded Method resources this way. The query parameter value must be a
single-valued list and contain the "methods"
string. For example,
GET /restapis/{restapi_id}/resources?embed=methods
.
embed
- A query parameter used to retrieve the specified resources embedded in the returned Resources resource in
the response. This embed
parameter value is a list of comma-separated strings. Currently, the
request supports only retrieval of the embedded Method resources this way. The query parameter value must
be a single-valued list and contain the "methods"
string. For example,
GET /restapis/{restapi_id}/resources?embed=methods
.public GetResourcesRequest withEmbed(String... embed)
A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the
response. This embed
parameter value is a list of comma-separated strings. Currently, the request
supports only retrieval of the embedded Method resources this way. The query parameter value must be a
single-valued list and contain the "methods"
string. For example,
GET /restapis/{restapi_id}/resources?embed=methods
.
NOTE: This method appends the values to the existing list (if any). Use
setEmbed(java.util.Collection)
or withEmbed(java.util.Collection)
if you want to override the
existing values.
embed
- A query parameter used to retrieve the specified resources embedded in the returned Resources resource in
the response. This embed
parameter value is a list of comma-separated strings. Currently, the
request supports only retrieval of the embedded Method resources this way. The query parameter value must
be a single-valued list and contain the "methods"
string. For example,
GET /restapis/{restapi_id}/resources?embed=methods
.public GetResourcesRequest withEmbed(Collection<String> embed)
A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the
response. This embed
parameter value is a list of comma-separated strings. Currently, the request
supports only retrieval of the embedded Method resources this way. The query parameter value must be a
single-valued list and contain the "methods"
string. For example,
GET /restapis/{restapi_id}/resources?embed=methods
.
embed
- A query parameter used to retrieve the specified resources embedded in the returned Resources resource in
the response. This embed
parameter value is a list of comma-separated strings. Currently, the
request supports only retrieval of the embedded Method resources this way. The query parameter value must
be a single-valued list and contain the "methods"
string. For example,
GET /restapis/{restapi_id}/resources?embed=methods
.public String toString()
toString
in class Object
Object.toString()
public GetResourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()