Interface ListBucketMetricsConfigurationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListBucketMetricsConfigurationsRequest.Builder,
,ListBucketMetricsConfigurationsRequest> S3Request.Builder
,SdkBuilder<ListBucketMetricsConfigurationsRequest.Builder,
,ListBucketMetricsConfigurationsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListBucketMetricsConfigurationsRequest
public static interface ListBucketMetricsConfigurationsRequest.Builder
extends S3Request.Builder, SdkPojo, CopyableBuilder<ListBucketMetricsConfigurationsRequest.Builder,ListBucketMetricsConfigurationsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the bucket containing the metrics configurations to retrieve.continuationToken
(String continuationToken) The marker that is used to continue a metrics configuration listing that has been truncated.expectedBucketOwner
(String expectedBucketOwner) The account ID of the expected bucket owner.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 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.
-
expectedBucketOwner
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code
403 Forbidden
(access denied).- Parameters:
expectedBucketOwner
- The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code403 Forbidden
(access denied).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListBucketMetricsConfigurationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListBucketMetricsConfigurationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-