Interface ListBucketMetricsConfigurationsResponse.Builder

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

public static interface ListBucketMetricsConfigurationsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<ListBucketMetricsConfigurationsResponse.Builder,ListBucketMetricsConfigurationsResponse>
  • Method Details

    • isTruncated

      Indicates whether the returned list of metrics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request.

      Parameters:
      isTruncated - Indicates whether the returned list of metrics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • continuationToken

      ListBucketMetricsConfigurationsResponse.Builder continuationToken(String continuationToken)

      The marker that is used as a starting point for this metrics configuration list response. This value is present if it was sent in the request.

      Parameters:
      continuationToken - The marker that is used as a starting point for this metrics configuration list response. This value is present if it was sent in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextContinuationToken

      ListBucketMetricsConfigurationsResponse.Builder nextContinuationToken(String nextContinuationToken)

      The marker 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:
      nextContinuationToken - The marker 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.
    • metricsConfigurationList

      ListBucketMetricsConfigurationsResponse.Builder metricsConfigurationList(Collection<MetricsConfiguration> metricsConfigurationList)

      The list of metrics configurations for a bucket.

      Parameters:
      metricsConfigurationList - The list of metrics configurations for a bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricsConfigurationList

      ListBucketMetricsConfigurationsResponse.Builder metricsConfigurationList(MetricsConfiguration... metricsConfigurationList)

      The list of metrics configurations for a bucket.

      Parameters:
      metricsConfigurationList - The list of metrics configurations for a bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricsConfigurationList

      ListBucketMetricsConfigurationsResponse.Builder metricsConfigurationList(Consumer<MetricsConfiguration.Builder>... metricsConfigurationList)

      The list of metrics configurations for a bucket.

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

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

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