Interface ListReceivedGrantsRequest.Builder

    • Method Detail

      • grantArns

        ListReceivedGrantsRequest.Builder grantArns​(Collection<String> grantArns)

        Amazon Resource Names (ARNs) of the grants.

        Parameters:
        grantArns - Amazon Resource Names (ARNs) of the grants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • grantArns

        ListReceivedGrantsRequest.Builder grantArns​(String... grantArns)

        Amazon Resource Names (ARNs) of the grants.

        Parameters:
        grantArns - Amazon Resource Names (ARNs) of the grants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListReceivedGrantsRequest.Builder filters​(Collection<Filter> filters)

        Filters to scope the results. The following filters are supported:

        • ProductSKU

        • LicenseIssuerName

        • LicenseArn

        • GrantStatus

        • GranterAccountId

        Parameters:
        filters - Filters to scope the results. The following filters are supported:

        • ProductSKU

        • LicenseIssuerName

        • LicenseArn

        • GrantStatus

        • GranterAccountId

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListReceivedGrantsRequest.Builder filters​(Filter... filters)

        Filters to scope the results. The following filters are supported:

        • ProductSKU

        • LicenseIssuerName

        • LicenseArn

        • GrantStatus

        • GranterAccountId

        Parameters:
        filters - Filters to scope the results. The following filters are supported:

        • ProductSKU

        • LicenseIssuerName

        • LicenseArn

        • GrantStatus

        • GranterAccountId

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListReceivedGrantsRequest.Builder filters​(Consumer<Filter.Builder>... filters)

        Filters to scope the results. The following filters are supported:

        • ProductSKU

        • LicenseIssuerName

        • LicenseArn

        • GrantStatus

        • GranterAccountId

        This is a convenience method that creates an instance of the Filter.Builder avoiding the need to create one manually via Filter.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #filters(List).

        Parameters:
        filters - a consumer that will call methods on Filter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filters(java.util.Collection)
      • nextToken

        ListReceivedGrantsRequest.Builder nextToken​(String nextToken)

        Token for the next set of results.

        Parameters:
        nextToken - Token for the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListReceivedGrantsRequest.Builder maxResults​(Integer maxResults)

        Maximum number of results to return in a single call.

        Parameters:
        maxResults - Maximum number of results to return in a single call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.