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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBucketMetricsConfigurationsResponse.Builder
continuationToken(String continuationToken)
The marker that is used as a starting point for this metrics configuration list response.ListBucketMetricsConfigurationsResponse.Builder
isTruncated(Boolean isTruncated)
Indicates whether the returned list of metrics configurations is complete.ListBucketMetricsConfigurationsResponse.Builder
metricsConfigurationList(Collection<MetricsConfiguration> metricsConfigurationList)
The list of metrics configurations for a bucket.ListBucketMetricsConfigurationsResponse.Builder
metricsConfigurationList(Consumer<MetricsConfiguration.Builder>... metricsConfigurationList)
The list of metrics configurations for a bucket.ListBucketMetricsConfigurationsResponse.Builder
metricsConfigurationList(MetricsConfiguration... metricsConfigurationList)
The list of metrics configurations for a bucket.ListBucketMetricsConfigurationsResponse.Builder
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 Detail
-
isTruncated
ListBucketMetricsConfigurationsResponse.Builder isTruncated(Boolean 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 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 to#metricsConfigurationList(List
.) - 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:
#metricsConfigurationList(java.util.Collection
)
-
-