Interface ListCallerAccessGrantsResponse.Builder

  • Method Details

    • nextToken

      A pagination token that you can use 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 that you can use 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.
    • callerAccessGrantsList

      ListCallerAccessGrantsResponse.Builder callerAccessGrantsList(Collection<ListCallerAccessGrantsEntry> callerAccessGrantsList)

      A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.

      Parameters:
      callerAccessGrantsList - A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callerAccessGrantsList

      ListCallerAccessGrantsResponse.Builder callerAccessGrantsList(ListCallerAccessGrantsEntry... callerAccessGrantsList)

      A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.

      Parameters:
      callerAccessGrantsList - A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callerAccessGrantsList

      ListCallerAccessGrantsResponse.Builder callerAccessGrantsList(Consumer<ListCallerAccessGrantsEntry.Builder>... callerAccessGrantsList)

      A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to callerAccessGrantsList(List<ListCallerAccessGrantsEntry>).

      Parameters:
      callerAccessGrantsList - a consumer that will call methods on ListCallerAccessGrantsEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: