Interface GetResourceSharesRequest.Builder

    • Method Detail

      • 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 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).

        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:
        #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 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.