Interface ListDistributedGrantsRequest.Builder

    • Method Detail

      • grantArns

        ListDistributedGrantsRequest.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

        ListDistributedGrantsRequest.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

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

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

        • LicenseArn

        • GrantStatus

        • GranteePrincipalARN

        • ProductSKU

        • LicenseIssuerName

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

        • LicenseArn

        • GrantStatus

        • GranteePrincipalARN

        • ProductSKU

        • LicenseIssuerName

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

        ListDistributedGrantsRequest.Builder filters​(Filter... filters)

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

        • LicenseArn

        • GrantStatus

        • GranteePrincipalARN

        • ProductSKU

        • LicenseIssuerName

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

        • LicenseArn

        • GrantStatus

        • GranteePrincipalARN

        • ProductSKU

        • LicenseIssuerName

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

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

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

        • LicenseArn

        • GrantStatus

        • GranteePrincipalARN

        • ProductSKU

        • LicenseIssuerName

        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

        ListDistributedGrantsRequest.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

        ListDistributedGrantsRequest.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.