Interface ListCallerAccessGrantsRequest.Builder

    • Method Detail

      • accountId

        ListCallerAccessGrantsRequest.Builder accountId​(String accountId)

        The Amazon Web Services account ID of the S3 Access Grants instance.

        Parameters:
        accountId - The Amazon Web Services account ID of the S3 Access Grants instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • grantScope

        ListCallerAccessGrantsRequest.Builder grantScope​(String grantScope)

        The S3 path of the data that you would like to access. Must start with s3://. You can optionally pass only the beginning characters of a path, and S3 Access Grants will search for all applicable grants for the path fragment.

        Parameters:
        grantScope - The S3 path of the data that you would like to access. Must start with s3://. You can optionally pass only the beginning characters of a path, and S3 Access Grants will search for all applicable grants for the path fragment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListCallerAccessGrantsRequest.Builder nextToken​(String nextToken)

        A pagination token to request the next page of results. Pass this value into a subsequent List Caller Access Grants request in order to retrieve the next page of results.

        Parameters:
        nextToken - A pagination token to request the next page of results. Pass this value into a subsequent List Caller Access Grants request in order to retrieve the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListCallerAccessGrantsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of access grants that you would like returned in the List Caller Access Grants response. If the results include the pagination token NextToken, make another call using the NextToken to determine if there are more results.

        Parameters:
        maxResults - The maximum number of access grants that you would like returned in the List Caller Access Grants response. If the results include the pagination token NextToken, make another call using the NextToken to determine if there are more results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedByApplication

        ListCallerAccessGrantsRequest.Builder allowedByApplication​(Boolean allowedByApplication)

        If this optional parameter is passed in the request, a filter is applied to the results. The results will include only the access grants for the caller's Identity Center application or for any other applications ( ALL).

        Parameters:
        allowedByApplication - If this optional parameter is passed in the request, a filter is applied to the results. The results will include only the access grants for the caller's Identity Center application or for any other applications (ALL).
        Returns:
        Returns a reference to this object so that method calls can be chained together.