Interface ListAccessPointsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListAccessPointsResponse.Builder,ListAccessPointsResponse>, S3ControlResponse.Builder, SdkBuilder<ListAccessPointsResponse.Builder,ListAccessPointsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListAccessPointsResponse

public static interface ListAccessPointsResponse.Builder extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<ListAccessPointsResponse.Builder,ListAccessPointsResponse>
  • Method Details

    • accessPointList

      ListAccessPointsResponse.Builder accessPointList(Collection<AccessPoint> accessPointList)

      Contains identification and configuration information for one or more access points associated with the specified bucket.

      Parameters:
      accessPointList - Contains identification and configuration information for one or more access points associated with the specified bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessPointList

      ListAccessPointsResponse.Builder accessPointList(AccessPoint... accessPointList)

      Contains identification and configuration information for one or more access points associated with the specified bucket.

      Parameters:
      accessPointList - Contains identification and configuration information for one or more access points associated with the specified bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessPointList

      ListAccessPointsResponse.Builder accessPointList(Consumer<AccessPoint.Builder>... accessPointList)

      Contains identification and configuration information for one or more access points associated with the specified bucket.

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

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

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

      If the specified bucket has more access points than can be returned in one call to this API, this field contains a continuation token that you can provide in subsequent calls to this API to retrieve additional access points.

      Parameters:
      nextToken - If the specified bucket has more access points than can be returned in one call to this API, this field contains a continuation token that you can provide in subsequent calls to this API to retrieve additional access points.
      Returns:
      Returns a reference to this object so that method calls can be chained together.