Interface GetResourceSharesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetResourceSharesRequest.Builder,GetResourceSharesRequest>,RamRequest.Builder,SdkBuilder<GetResourceSharesRequest.Builder,GetResourceSharesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetResourceSharesRequest
public static interface GetResourceSharesRequest.Builder extends RamRequest.Builder, SdkPojo, CopyableBuilder<GetResourceSharesRequest.Builder,GetResourceSharesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetResourceSharesRequest.BuildermaxResults(Integer maxResults)Specifies the total number of results that you want included on each page of the response.GetResourceSharesRequest.Buildername(String name)Specifies the name of an individual resource share that you want to retrieve details about.GetResourceSharesRequest.BuildernextToken(String nextToken)Specifies that you want to receive the next page of results.GetResourceSharesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetResourceSharesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetResourceSharesRequest.BuilderpermissionArn(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.BuilderpermissionVersion(Integer permissionVersion)Specifies that you want to retrieve details for only those resource shares that use the specified version of the managed permission.GetResourceSharesRequest.BuilderresourceOwner(String resourceOwner)Specifies that you want to retrieve details of only those resource shares that match the following:GetResourceSharesRequest.BuilderresourceOwner(ResourceOwner resourceOwner)Specifies that you want to retrieve details of only those resource shares that match the following:GetResourceSharesRequest.BuilderresourceShareArns(String... resourceShareArns)Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.GetResourceSharesRequest.BuilderresourceShareArns(Collection<String> resourceShareArns)Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.GetResourceSharesRequest.BuilderresourceShareStatus(String resourceShareStatus)Specifies that you want to retrieve details of only those resource shares that have this status.GetResourceSharesRequest.BuilderresourceShareStatus(ResourceShareStatus resourceShareStatus)Specifies that you want to retrieve details of only those resource shares that have this status.GetResourceSharesRequest.BuildertagFilters(Collection<TagFilter> tagFilters)Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.GetResourceSharesRequest.BuildertagFilters(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.BuildertagFilters(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 Detail
-
resourceShareArns
GetResourceSharesRequest.Builder resourceShareArns(Collection<String> resourceShareArns)
Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.
- Parameters:
resourceShareArns- Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareArns
GetResourceSharesRequest.Builder resourceShareArns(String... resourceShareArns)
Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.
- Parameters:
resourceShareArns- Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareStatus
GetResourceSharesRequest.Builder resourceShareStatus(String resourceShareStatus)
Specifies that you want to retrieve details of only those resource shares that have this status.
- Parameters:
resourceShareStatus- Specifies that you want to retrieve details of only those resource shares that have this status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceShareStatus,ResourceShareStatus
-
resourceShareStatus
GetResourceSharesRequest.Builder resourceShareStatus(ResourceShareStatus resourceShareStatus)
Specifies that you want to retrieve details of only those resource shares that have this status.
- Parameters:
resourceShareStatus- Specifies that you want to retrieve details of only those resource shares that have this status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceShareStatus,ResourceShareStatus
-
resourceOwner
GetResourceSharesRequest.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
- 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,ResourceOwner
-
-
resourceOwner
GetResourceSharesRequest.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
- 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,ResourceOwner
-
-
name
GetResourceSharesRequest.Builder name(String 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
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.
- 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
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.
- 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
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.Builderavoiding the need to create one manually viaTagFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagFilters(List.) - 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:
#tagFilters(java.util.Collection)
-
nextToken
GetResourceSharesRequest.Builder nextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse 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'sNextTokenresponse 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 aNextTokenresponse 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'sNextTokenresponse to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
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
NextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest 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 checkNextTokenafter 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, theNextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest 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 checkNextTokenafter 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
GetResourceSharesRequest.Builder 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).
- 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
GetResourceSharesRequest.Builder permissionVersion(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetResourceSharesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-