@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListResourcesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListResourcesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
String |
getPrincipal()
The principal.
|
List<String> |
getResourceArns()
The Amazon Resource Names (ARN) of the resources.
|
String |
getResourceOwner()
The type of owner.
|
List<String> |
getResourceShareArns()
The Amazon Resource Names (ARN) of the resource shares.
|
String |
getResourceType()
The resource type.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setPrincipal(String principal)
The principal.
|
void |
setResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
|
void |
setResourceOwner(String resourceOwner)
The type of owner.
|
void |
setResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
void |
setResourceType(String resourceType)
The resource type.
|
String |
toString()
Returns a string representation of this object.
|
ListResourcesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
ListResourcesRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
ListResourcesRequest |
withPrincipal(String principal)
The principal.
|
ListResourcesRequest |
withResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
|
ListResourcesRequest |
withResourceArns(String... resourceArns)
The Amazon Resource Names (ARN) of the resources.
|
ListResourcesRequest |
withResourceOwner(ResourceOwner resourceOwner)
The type of owner.
|
ListResourcesRequest |
withResourceOwner(String resourceOwner)
The type of owner.
|
ListResourcesRequest |
withResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
ListResourcesRequest |
withResourceShareArns(String... resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
ListResourcesRequest |
withResourceType(String resourceType)
The resource type.
|
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, withSdkRequestTimeoutpublic void setResourceOwner(String resourceOwner)
The type of owner.
resourceOwner - The type of owner.ResourceOwnerpublic String getResourceOwner()
The type of owner.
ResourceOwnerpublic ListResourcesRequest withResourceOwner(String resourceOwner)
The type of owner.
resourceOwner - The type of owner.ResourceOwnerpublic ListResourcesRequest withResourceOwner(ResourceOwner resourceOwner)
The type of owner.
resourceOwner - The type of owner.ResourceOwnerpublic void setPrincipal(String principal)
The principal.
principal - The principal.public String getPrincipal()
The principal.
public ListResourcesRequest withPrincipal(String principal)
The principal.
principal - The principal.public void setResourceType(String resourceType)
The resource type.
resourceType - The resource type.public String getResourceType()
The resource type.
public ListResourcesRequest withResourceType(String resourceType)
The resource type.
resourceType - The resource type.public List<String> getResourceArns()
The Amazon Resource Names (ARN) of the resources.
public void setResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
resourceArns - The Amazon Resource Names (ARN) of the resources.public ListResourcesRequest withResourceArns(String... resourceArns)
The Amazon Resource Names (ARN) of the resources.
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection) or withResourceArns(java.util.Collection) if you want to
override the existing values.
resourceArns - The Amazon Resource Names (ARN) of the resources.public ListResourcesRequest withResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
resourceArns - The Amazon Resource Names (ARN) of the resources.public List<String> getResourceShareArns()
The Amazon Resource Names (ARN) of the resource shares.
public void setResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
resourceShareArns - The Amazon Resource Names (ARN) of the resource shares.public ListResourcesRequest withResourceShareArns(String... resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
NOTE: This method appends the values to the existing list (if any). Use
setResourceShareArns(java.util.Collection) or withResourceShareArns(java.util.Collection) if
you want to override the existing values.
resourceShareArns - The Amazon Resource Names (ARN) of the resource shares.public ListResourcesRequest withResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
resourceShareArns - The Amazon Resource Names (ARN) of the resource shares.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListResourcesRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken value.
maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken value.
nextToken value.public ListResourcesRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken value.
maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken value.public String toString()
toString in class ObjectObject.toString()public ListResourcesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.