Interface GetBucketLifecycleConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetBucketLifecycleConfigurationRequest.Builder,GetBucketLifecycleConfigurationRequest>
,S3Request.Builder
,SdkBuilder<GetBucketLifecycleConfigurationRequest.Builder,GetBucketLifecycleConfigurationRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- GetBucketLifecycleConfigurationRequest
public static interface GetBucketLifecycleConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<GetBucketLifecycleConfigurationRequest.Builder,GetBucketLifecycleConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBucketLifecycleConfigurationRequest.Builder
bucket(String bucket)
The name of the bucket for which to get the lifecycle information.GetBucketLifecycleConfigurationRequest.Builder
expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner.GetBucketLifecycleConfigurationRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
GetBucketLifecycleConfigurationRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
bucket
GetBucketLifecycleConfigurationRequest.Builder bucket(String bucket)
The name of the bucket for which to get the lifecycle information.
- Parameters:
bucket
- The name of the bucket for which to get the lifecycle information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedBucketOwner
GetBucketLifecycleConfigurationRequest.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).This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
- 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 code403 Forbidden
(access denied).This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetBucketLifecycleConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
GetBucketLifecycleConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-