@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourceSharesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetResourceSharesRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetResourceSharesRequest |
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 |
getName()
Specifies the name of an individual resource share that you want to retrieve details about.
|
String |
getNextToken()
Specifies that you want to receive the next page of results.
|
String |
getPermissionArn()
Specifies that you want to retrieve details of only those resource shares that use the managed permission with
this Amazon Resource Name
(ARN).
|
Integer |
getPermissionVersion()
Specifies that you want to retrieve details for only those resource shares that use the specified version of the
managed permission.
|
String |
getResourceOwner()
Specifies that you want to retrieve details of only those resource shares that match the following:
|
List<String> |
getResourceShareArns()
Specifies the Amazon
Resource Names (ARNs) of individual resource shares that you want information about.
|
String |
getResourceShareStatus()
Specifies that you want to retrieve details of only those resource shares that have this status.
|
List<TagFilter> |
getTagFilters()
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and
values.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
void |
setName(String name)
Specifies the name of an individual resource share that you want to retrieve details about.
|
void |
setNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
void |
setPermissionArn(String permissionArn)
Specifies that you want to retrieve details of only those resource shares that use the managed permission with
this Amazon Resource Name
(ARN).
|
void |
setPermissionVersion(Integer permissionVersion)
Specifies that you want to retrieve details for only those resource shares that use the specified version of the
managed permission.
|
void |
setResourceOwner(String resourceOwner)
Specifies that you want to retrieve details of only those resource shares that match the following:
|
void |
setResourceShareArns(Collection<String> resourceShareArns)
Specifies the Amazon
Resource Names (ARNs) of individual resource shares that you want information about.
|
void |
setResourceShareStatus(String resourceShareStatus)
Specifies that you want to retrieve details of only those resource shares that have this status.
|
void |
setTagFilters(Collection<TagFilter> tagFilters)
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and
values.
|
String |
toString()
Returns a string representation of this object.
|
GetResourceSharesRequest |
withMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
GetResourceSharesRequest |
withName(String name)
Specifies the name of an individual resource share that you want to retrieve details about.
|
GetResourceSharesRequest |
withNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
GetResourceSharesRequest |
withPermissionArn(String permissionArn)
Specifies that you want to retrieve details of only those resource shares that use the managed permission with
this Amazon Resource Name
(ARN).
|
GetResourceSharesRequest |
withPermissionVersion(Integer permissionVersion)
Specifies that you want to retrieve details for only those resource shares that use the specified version of the
managed permission.
|
GetResourceSharesRequest |
withResourceOwner(ResourceOwner resourceOwner)
Specifies that you want to retrieve details of only those resource shares that match the following:
|
GetResourceSharesRequest |
withResourceOwner(String resourceOwner)
Specifies that you want to retrieve details of only those resource shares that match the following:
|
GetResourceSharesRequest |
withResourceShareArns(Collection<String> resourceShareArns)
Specifies the Amazon
Resource Names (ARNs) of individual resource shares that you want information about.
|
GetResourceSharesRequest |
withResourceShareArns(String... resourceShareArns)
Specifies the Amazon
Resource Names (ARNs) of individual resource shares that you want information about.
|
GetResourceSharesRequest |
withResourceShareStatus(ResourceShareStatus resourceShareStatus)
Specifies that you want to retrieve details of only those resource shares that have this status.
|
GetResourceSharesRequest |
withResourceShareStatus(String resourceShareStatus)
Specifies that you want to retrieve details of only those resource shares that have this status.
|
GetResourceSharesRequest |
withTagFilters(Collection<TagFilter> tagFilters)
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and
values.
|
GetResourceSharesRequest |
withTagFilters(TagFilter... tagFilters)
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and
values.
|
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 List<String> getResourceShareArns()
Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.
public void setResourceShareArns(Collection<String> resourceShareArns)
Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.
resourceShareArns - Specifies the Amazon
Resource Names (ARNs) of individual resource shares that you want information about.public GetResourceSharesRequest withResourceShareArns(String... resourceShareArns)
Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.
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 the Amazon
Resource Names (ARNs) of individual resource shares that you want information about.public GetResourceSharesRequest withResourceShareArns(Collection<String> resourceShareArns)
Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.
resourceShareArns - Specifies the Amazon
Resource Names (ARNs) of individual resource shares that you want information about.public void setResourceShareStatus(String resourceShareStatus)
Specifies that you want to retrieve details of only those resource shares that have this status.
resourceShareStatus - Specifies that you want to retrieve details of only those resource shares that have this status.ResourceShareStatuspublic String getResourceShareStatus()
Specifies that you want to retrieve details of only those resource shares that have this status.
ResourceShareStatuspublic GetResourceSharesRequest withResourceShareStatus(String resourceShareStatus)
Specifies that you want to retrieve details of only those resource shares that have this status.
resourceShareStatus - Specifies that you want to retrieve details of only those resource shares that have this status.ResourceShareStatuspublic GetResourceSharesRequest withResourceShareStatus(ResourceShareStatus resourceShareStatus)
Specifies that you want to retrieve details of only those resource shares that have this status.
resourceShareStatus - Specifies that you want to retrieve details of only those resource shares that have this status.ResourceShareStatuspublic void setResourceOwner(String resourceOwner)
Specifies that you want to retrieve details of only those resource shares that match the following:
SELF – resource shares that your account shares with other accounts
OTHER-ACCOUNTS – resource shares that other accounts share with your account
resourceOwner - Specifies that you want to retrieve details of only those resource shares that match the following:
SELF – resource shares that your account shares with other accounts
OTHER-ACCOUNTS – resource shares that other accounts share with your account
ResourceOwnerpublic String getResourceOwner()
Specifies that you want to retrieve details of only those resource shares that match the following:
SELF – resource shares that your account shares with other accounts
OTHER-ACCOUNTS – resource shares that other accounts share with your account
SELF – resource shares that your account shares with other accounts
OTHER-ACCOUNTS – resource shares that other accounts share with your account
ResourceOwnerpublic GetResourceSharesRequest withResourceOwner(String resourceOwner)
Specifies that you want to retrieve details of only those resource shares that match the following:
SELF – resource shares that your account shares with other accounts
OTHER-ACCOUNTS – resource shares that other accounts share with your account
resourceOwner - Specifies that you want to retrieve details of only those resource shares that match the following:
SELF – resource shares that your account shares with other accounts
OTHER-ACCOUNTS – resource shares that other accounts share with your account
ResourceOwnerpublic GetResourceSharesRequest withResourceOwner(ResourceOwner resourceOwner)
Specifies that you want to retrieve details of only those resource shares that match the following:
SELF – resource shares that your account shares with other accounts
OTHER-ACCOUNTS – resource shares that other accounts share with your account
resourceOwner - Specifies that you want to retrieve details of only those resource shares that match the following:
SELF – resource shares that your account shares with other accounts
OTHER-ACCOUNTS – resource shares that other accounts share with your account
ResourceOwnerpublic void setName(String name)
Specifies the name of an individual resource share that you want to retrieve details about.
name - Specifies the name of an individual resource share that you want to retrieve details about.public String getName()
Specifies the name of an individual resource share that you want to retrieve details about.
public GetResourceSharesRequest withName(String name)
Specifies the name of an individual resource share that you want to retrieve details about.
name - Specifies the name of an individual resource share that you want to retrieve details about.public List<TagFilter> getTagFilters()
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.
public void setTagFilters(Collection<TagFilter> tagFilters)
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.
tagFilters - Specifies that you want to retrieve details of only those resource shares that match the specified tag
keys and values.public GetResourceSharesRequest withTagFilters(TagFilter... tagFilters)
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.
NOTE: This method appends the values to the existing list (if any). Use
setTagFilters(java.util.Collection) or withTagFilters(java.util.Collection) if you want to
override the existing values.
tagFilters - Specifies that you want to retrieve details of only those resource shares that match the specified tag
keys and values.public GetResourceSharesRequest withTagFilters(Collection<TagFilter> tagFilters)
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.
tagFilters - Specifies that you want to retrieve details of only those resource shares that match the specified tag
keys and values.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 GetResourceSharesRequest 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 GetResourceSharesRequest 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 setPermissionArn(String permissionArn)
Specifies that you want to retrieve details of only those resource shares that use the managed permission with this Amazon Resource Name (ARN).
permissionArn - Specifies that you want to retrieve details of only those resource shares that use the managed permission
with this Amazon
Resource Name (ARN).public String getPermissionArn()
Specifies that you want to retrieve details of only those resource shares that use the managed permission with this Amazon Resource Name (ARN).
public GetResourceSharesRequest withPermissionArn(String permissionArn)
Specifies that you want to retrieve details of only those resource shares that use the managed permission with this Amazon Resource Name (ARN).
permissionArn - Specifies that you want to retrieve details of only those resource shares that use the managed permission
with this Amazon
Resource Name (ARN).public void setPermissionVersion(Integer permissionVersion)
Specifies that you want to retrieve details for only those resource shares that use the specified version of the managed permission.
permissionVersion - Specifies that you want to retrieve details for only those resource shares that use the specified version
of the managed permission.public Integer getPermissionVersion()
Specifies that you want to retrieve details for only those resource shares that use the specified version of the managed permission.
public GetResourceSharesRequest withPermissionVersion(Integer permissionVersion)
Specifies that you want to retrieve details for only those resource shares that use the specified version of the managed permission.
permissionVersion - Specifies that you want to retrieve details for only those resource shares that use the specified version
of the managed permission.public String toString()
toString in class ObjectObject.toString()public GetResourceSharesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()