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 Details

    • 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

      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:
    • 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

      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:
    • 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

      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

      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 the TagFilter.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<TagFilter>).

      Parameters:
      tagFilters - a consumer that will call methods on TagFilter.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's NextToken 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 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.
      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 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.

      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, 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.
      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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.