Interface ListBucketMetricsConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBucketMetricsConfigurationsResponse.Builder,
,ListBucketMetricsConfigurationsResponse> S3Response.Builder
,SdkBuilder<ListBucketMetricsConfigurationsResponse.Builder,
,ListBucketMetricsConfigurationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBucketMetricsConfigurationsResponse
-
Method Summary
Modifier and TypeMethodDescriptioncontinuationToken
(String continuationToken) The marker that is used as a starting point for this metrics configuration list response.isTruncated
(Boolean isTruncated) Indicates whether the returned list of metrics configurations is complete.metricsConfigurationList
(Collection<MetricsConfiguration> metricsConfigurationList) The list of metrics configurations for a bucket.metricsConfigurationList
(Consumer<MetricsConfiguration.Builder>... metricsConfigurationList) The list of metrics configurations for a bucket.metricsConfigurationList
(MetricsConfiguration... metricsConfigurationList) The list of metrics configurations for a bucket.nextContinuationToken
(String nextContinuationToken) The marker used to continue a metrics configuration listing that has been truncated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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
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 theNextContinuationToken
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 theMetricsConfiguration.Builder
avoiding the need to create one manually viaMetricsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricsConfigurationList(List<MetricsConfiguration>)
.- Parameters:
metricsConfigurationList
- a consumer that will call methods onMetricsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-