Interface ListBucketMetricsConfigurationsRequest.Builder

    • Method Detail

      • bucket

        ListBucketMetricsConfigurationsRequest.Builder bucket​(String bucket)

        The name of the bucket containing the metrics configurations to retrieve.

        Parameters:
        bucket - The name of the bucket containing the metrics configurations to retrieve.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • continuationToken

        ListBucketMetricsConfigurationsRequest.Builder continuationToken​(String continuationToken)

        The marker that is used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.

        Parameters:
        continuationToken - The marker that is used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expectedBucketOwner

        ListBucketMetricsConfigurationsRequest.Builder expectedBucketOwner​(String expectedBucketOwner)

        The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

        Parameters:
        expectedBucketOwner - The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).
        Returns:
        Returns a reference to this object so that method calls can be chained together.