@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()
Specifies the total number of results that you want included on each page of the response.
|
String |
getNextToken()
Specifies that you want to receive the next page of results.
|
String |
getPrincipal()
Specifies that you want to list only the resource shares that are associated with the specified principal.
|
List<String> |
getResourceArns()
Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names
(ARNs).
|
String |
getResourceOwner()
Specifies that you want to list only the resource shares that match the following:
|
String |
getResourceRegionScope()
Specifies that you want the results to include only resources that have the specified scope.
|
List<String> |
getResourceShareArns()
Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names
(ARNs).
|
String |
getResourceType()
Specifies that you want to list only the resource shares that include resources of the specified resource type.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
void |
setNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
void |
setPrincipal(String principal)
Specifies that you want to list only the resource shares that are associated with the specified principal.
|
void |
setResourceArns(Collection<String> resourceArns)
Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names
(ARNs).
|
void |
setResourceOwner(String resourceOwner)
Specifies that you want to list only the resource shares that match the following:
|
void |
setResourceRegionScope(String resourceRegionScope)
Specifies that you want the results to include only resources that have the specified scope.
|
void |
setResourceShareArns(Collection<String> resourceShareArns)
Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names
(ARNs).
|
void |
setResourceType(String resourceType)
Specifies that you want to list only the resource shares that include resources of the specified resource type.
|
String |
toString()
Returns a string representation of this object.
|
ListResourcesRequest |
withMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
ListResourcesRequest |
withNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
ListResourcesRequest |
withPrincipal(String principal)
Specifies that you want to list only the resource shares that are associated with the specified principal.
|
ListResourcesRequest |
withResourceArns(Collection<String> resourceArns)
Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names
(ARNs).
|
ListResourcesRequest |
withResourceArns(String... resourceArns)
Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names
(ARNs).
|
ListResourcesRequest |
withResourceOwner(ResourceOwner resourceOwner)
Specifies that you want to list only the resource shares that match the following:
|
ListResourcesRequest |
withResourceOwner(String resourceOwner)
Specifies that you want to list only the resource shares that match the following:
|
ListResourcesRequest |
withResourceRegionScope(ResourceRegionScopeFilter resourceRegionScope)
Specifies that you want the results to include only resources that have the specified scope.
|
ListResourcesRequest |
withResourceRegionScope(String resourceRegionScope)
Specifies that you want the results to include only resources that have the specified scope.
|
ListResourcesRequest |
withResourceShareArns(Collection<String> resourceShareArns)
Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names
(ARNs).
|
ListResourcesRequest |
withResourceShareArns(String... resourceShareArns)
Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names
(ARNs).
|
ListResourcesRequest |
withResourceType(String resourceType)
Specifies that you want to list only the resource shares that include resources of the specified 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, withSdkRequestTimeout
public void setResourceOwner(String resourceOwner)
Specifies that you want to list only the resource shares that match the following:
SELF
– resources that your account shares with other accounts
OTHER-ACCOUNTS
– resources that other accounts share with your account
resourceOwner
- Specifies that you want to list only the resource shares that match the following:
SELF
– resources that your account shares with other accounts
OTHER-ACCOUNTS
– resources that other accounts share with your account
ResourceOwner
public String getResourceOwner()
Specifies that you want to list only the resource shares that match the following:
SELF
– resources that your account shares with other accounts
OTHER-ACCOUNTS
– resources that other accounts share with your account
SELF
– resources that your account shares with other accounts
OTHER-ACCOUNTS
– resources that other accounts share with your account
ResourceOwner
public ListResourcesRequest withResourceOwner(String resourceOwner)
Specifies that you want to list only the resource shares that match the following:
SELF
– resources that your account shares with other accounts
OTHER-ACCOUNTS
– resources that other accounts share with your account
resourceOwner
- Specifies that you want to list only the resource shares that match the following:
SELF
– resources that your account shares with other accounts
OTHER-ACCOUNTS
– resources that other accounts share with your account
ResourceOwner
public ListResourcesRequest withResourceOwner(ResourceOwner resourceOwner)
Specifies that you want to list only the resource shares that match the following:
SELF
– resources that your account shares with other accounts
OTHER-ACCOUNTS
– resources that other accounts share with your account
resourceOwner
- Specifies that you want to list only the resource shares that match the following:
SELF
– resources that your account shares with other accounts
OTHER-ACCOUNTS
– resources that other accounts share with your account
ResourceOwner
public void setPrincipal(String principal)
Specifies that you want to list only the resource shares that are associated with the specified principal.
principal
- Specifies that you want to list only the resource shares that are associated with the specified principal.public String getPrincipal()
Specifies that you want to list only the resource shares that are associated with the specified principal.
public ListResourcesRequest withPrincipal(String principal)
Specifies that you want to list only the resource shares that are associated with the specified principal.
principal
- Specifies that you want to list only the resource shares that are associated with the specified principal.public void setResourceType(String resourceType)
Specifies that you want to list only the resource shares that include resources of the specified resource type.
For valid values, query the ListResourceTypes operation.
resourceType
- Specifies that you want to list only the resource shares that include resources of the specified resource
type.
For valid values, query the ListResourceTypes operation.
public String getResourceType()
Specifies that you want to list only the resource shares that include resources of the specified resource type.
For valid values, query the ListResourceTypes operation.
For valid values, query the ListResourceTypes operation.
public ListResourcesRequest withResourceType(String resourceType)
Specifies that you want to list only the resource shares that include resources of the specified resource type.
For valid values, query the ListResourceTypes operation.
resourceType
- Specifies that you want to list only the resource shares that include resources of the specified resource
type.
For valid values, query the ListResourceTypes operation.
public List<String> getResourceArns()
Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names (ARNs).
public void setResourceArns(Collection<String> resourceArns)
Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names (ARNs).
resourceArns
- Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names
(ARNs).public ListResourcesRequest withResourceArns(String... resourceArns)
Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names (ARNs).
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
- Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names
(ARNs).public ListResourcesRequest withResourceArns(Collection<String> resourceArns)
Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names (ARNs).
resourceArns
- Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names
(ARNs).public List<String> getResourceShareArns()
Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names (ARNs).
public void setResourceShareArns(Collection<String> resourceShareArns)
Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names (ARNs).
resourceShareArns
- Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names
(ARNs).public ListResourcesRequest withResourceShareArns(String... resourceShareArns)
Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names (ARNs).
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
- Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names
(ARNs).public ListResourcesRequest withResourceShareArns(Collection<String> resourceShareArns)
Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names (ARNs).
resourceShareArns
- Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names
(ARNs).public void setNextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response
to request the next page of results.public String getNextToken()
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.public ListResourcesRequest withNextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response
to request the next page of results.public void setMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response. If you do not include
this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the
number you specify, the NextToken
response element is returned with a value (not null). Include the
specified value as the NextToken
request parameter in the next call to the operation to get the next
part of the results. Note that the service might return fewer results than the maximum even when there are more
results available. You should check NextToken
after every operation to ensure that you receive all
of the results.
maxResults
- Specifies the total number of results that you want included on each page of the response. If you do not
include this parameter, it defaults to a value that is specific to the operation. If additional items
exist beyond the number you specify, the NextToken
response element is returned with a value
(not null). Include the specified value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that the service might return fewer results
than the maximum even when there are more results available. You should check NextToken
after
every operation to ensure that you receive all of the results.public Integer getMaxResults()
Specifies the total number of results that you want included on each page of the response. If you do not include
this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the
number you specify, the NextToken
response element is returned with a value (not null). Include the
specified value as the NextToken
request parameter in the next call to the operation to get the next
part of the results. Note that the service might return fewer results than the maximum even when there are more
results available. You should check NextToken
after every operation to ensure that you receive all
of the results.
NextToken
response element is returned with a value
(not null). Include the specified value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that the service might return fewer results
than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.public ListResourcesRequest withMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response. If you do not include
this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the
number you specify, the NextToken
response element is returned with a value (not null). Include the
specified value as the NextToken
request parameter in the next call to the operation to get the next
part of the results. Note that the service might return fewer results than the maximum even when there are more
results available. You should check NextToken
after every operation to ensure that you receive all
of the results.
maxResults
- Specifies the total number of results that you want included on each page of the response. If you do not
include this parameter, it defaults to a value that is specific to the operation. If additional items
exist beyond the number you specify, the NextToken
response element is returned with a value
(not null). Include the specified value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that the service might return fewer results
than the maximum even when there are more results available. You should check NextToken
after
every operation to ensure that you receive all of the results.public void setResourceRegionScope(String resourceRegionScope)
Specifies that you want the results to include only resources that have the specified scope.
ALL
– the results include both global and regional resources or resource types.
GLOBAL
– the results include only global resources or resource types.
REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
resourceRegionScope
- Specifies that you want the results to include only resources that have the specified scope.
ALL
– the results include both global and regional resources or resource types.
GLOBAL
– the results include only global resources or resource types.
REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
ResourceRegionScopeFilter
public String getResourceRegionScope()
Specifies that you want the results to include only resources that have the specified scope.
ALL
– the results include both global and regional resources or resource types.
GLOBAL
– the results include only global resources or resource types.
REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
ALL
– the results include both global and regional resources or resource types.
GLOBAL
– the results include only global resources or resource types.
REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
ResourceRegionScopeFilter
public ListResourcesRequest withResourceRegionScope(String resourceRegionScope)
Specifies that you want the results to include only resources that have the specified scope.
ALL
– the results include both global and regional resources or resource types.
GLOBAL
– the results include only global resources or resource types.
REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
resourceRegionScope
- Specifies that you want the results to include only resources that have the specified scope.
ALL
– the results include both global and regional resources or resource types.
GLOBAL
– the results include only global resources or resource types.
REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
ResourceRegionScopeFilter
public ListResourcesRequest withResourceRegionScope(ResourceRegionScopeFilter resourceRegionScope)
Specifies that you want the results to include only resources that have the specified scope.
ALL
– the results include both global and regional resources or resource types.
GLOBAL
– the results include only global resources or resource types.
REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
resourceRegionScope
- Specifies that you want the results to include only resources that have the specified scope.
ALL
– the results include both global and regional resources or resource types.
GLOBAL
– the results include only global resources or resource types.
REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
ResourceRegionScopeFilter
public String toString()
toString
in class Object
Object.toString()
public ListResourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()