public static interface GetResourceSharesRequest.Builder extends RamRequest.Builder, SdkPojo, CopyableBuilder<GetResourceSharesRequest.Builder,GetResourceSharesRequest>
| Modifier and Type | Method and Description |
|---|---|
GetResourceSharesRequest.Builder |
maxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
GetResourceSharesRequest.Builder |
name(String name)
Specifies the name of an individual resource share that you want to retrieve details about.
|
GetResourceSharesRequest.Builder |
nextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
GetResourceSharesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetResourceSharesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetResourceSharesRequest.Builder |
permissionArn(String permissionArn)
Specifies that you want to retrieve details of only those resource shares that use the RAM permission with
this Amazon Resoure Name
(ARN).
|
GetResourceSharesRequest.Builder |
resourceOwner(ResourceOwner resourceOwner)
Specifies that you want to retrieve details of only those resource shares that match the following:
|
GetResourceSharesRequest.Builder |
resourceOwner(String resourceOwner)
Specifies that you want to retrieve details of only those resource shares that match the following:
|
GetResourceSharesRequest.Builder |
resourceShareArns(Collection<String> resourceShareArns)
Specifies the Amazon
Resource Names (ARNs) of individual resource shares that you want information about.
|
GetResourceSharesRequest.Builder |
resourceShareArns(String... resourceShareArns)
Specifies the Amazon
Resource Names (ARNs) of individual resource shares that you want information about.
|
GetResourceSharesRequest.Builder |
resourceShareStatus(ResourceShareStatus resourceShareStatus)
Specifies that you want to retrieve details of only those resource shares that have this status.
|
GetResourceSharesRequest.Builder |
resourceShareStatus(String resourceShareStatus)
Specifies that you want to retrieve details of only those resource shares that have this status.
|
GetResourceSharesRequest.Builder |
tagFilters(Collection<TagFilter> tagFilters)
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys
and values.
|
GetResourceSharesRequest.Builder |
tagFilters(Consumer<TagFilter.Builder>... tagFilters)
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys
and values.
|
GetResourceSharesRequest.Builder |
tagFilters(TagFilter... tagFilters)
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys
and values.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetResourceSharesRequest.Builder resourceShareArns(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.GetResourceSharesRequest.Builder resourceShareArns(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.GetResourceSharesRequest.Builder resourceShareStatus(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.ResourceShareStatus,
ResourceShareStatusGetResourceSharesRequest.Builder resourceShareStatus(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.ResourceShareStatus,
ResourceShareStatusGetResourceSharesRequest.Builder resourceOwner(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
ResourceOwner,
ResourceOwnerGetResourceSharesRequest.Builder resourceOwner(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
ResourceOwner,
ResourceOwnerGetResourceSharesRequest.Builder name(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.GetResourceSharesRequest.Builder tagFilters(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.GetResourceSharesRequest.Builder tagFilters(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.GetResourceSharesRequest.Builder tagFilters(Consumer<TagFilter.Builder>... tagFilters)
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.
This is a convenience method that creates an instance of theTagFilter.Builder avoiding the need to create one manually
via TagFilter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tagFilters(List.
tagFilters - a consumer that will call methods on
TagFilter.Builder#tagFilters(java.util.Collection) GetResourceSharesRequest.Builder nextToken(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.GetResourceSharesRequest.Builder maxResults(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.GetResourceSharesRequest.Builder permissionArn(String permissionArn)
Specifies that you want to retrieve details of only those resource shares that use the RAM permission with this Amazon Resoure Name (ARN).
permissionArn - Specifies that you want to retrieve details of only those resource shares that use the RAM permission
with this Amazon
Resoure Name (ARN).GetResourceSharesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetResourceSharesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.