Interface GetResourceSharesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetResourceSharesRequest.Builder,
,GetResourceSharesRequest> RamRequest.Builder
,SdkBuilder<GetResourceSharesRequest.Builder,
,GetResourceSharesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetResourceSharesRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) Specifies the total number of results that you want included on each page of the response.Specifies the name of an individual resource share that you want to retrieve details about.Specifies that you want to receive the next page of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissionArn
(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).permissionVersion
(Integer permissionVersion) Specifies that you want to retrieve details for only those resource shares that use the specified version of the managed permission.resourceOwner
(String resourceOwner) Specifies that you want to retrieve details of only those resource shares that match the following:resourceOwner
(ResourceOwner resourceOwner) Specifies that you want to retrieve details of only those resource shares that match the following:resourceShareArns
(String... resourceShareArns) Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.resourceShareArns
(Collection<String> resourceShareArns) Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.resourceShareStatus
(String resourceShareStatus) Specifies that you want to retrieve details of only those resource shares that have this status.resourceShareStatus
(ResourceShareStatus resourceShareStatus) Specifies that you want to retrieve details of only those resource shares that have this status.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
(Consumer<TagFilter.Builder>... tagFilters) Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.tagFilters
(TagFilter... tagFilters) Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ram.model.RamRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
name
Specifies the name of an individual resource share that you want to retrieve details about.
- Parameters:
name
- Specifies the name of an individual resource share that you want to retrieve details about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilters
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.
- Parameters:
tagFilters
- Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilters
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.
- Parameters:
tagFilters
- Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTagFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagFilters(List<TagFilter>)
.- Parameters:
tagFilters
- a consumer that will call methods onTagFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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'sNextToken
response to request the next page of results.- Parameters:
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received aNextToken
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'sNextToken
response to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theNextToken
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 checkNextToken
after every operation to ensure that you receive all of the results.- Parameters:
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, theNextToken
response element is returned with a value (not null). Include the specified value as theNextToken
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 checkNextToken
after every operation to ensure that you receive all of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionArn
Specifies that you want to retrieve details of only those resource shares that use the managed permission with this Amazon Resource Name (ARN).
- Parameters:
permissionArn
- Specifies that you want to retrieve details of only those resource shares that use the managed permission with this Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionVersion
Specifies that you want to retrieve details for only those resource shares that use the specified version of the managed permission.
- Parameters:
permissionVersion
- Specifies that you want to retrieve details for only those resource shares that use the specified version of the managed permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetResourceSharesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetResourceSharesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.