Interface PutBucketLifecycleConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutBucketLifecycleConfigurationResponse.Builder,PutBucketLifecycleConfigurationResponse>
,S3Response.Builder
,SdkBuilder<PutBucketLifecycleConfigurationResponse.Builder,PutBucketLifecycleConfigurationResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- PutBucketLifecycleConfigurationResponse
@Mutable @NotThreadSafe public static interface PutBucketLifecycleConfigurationResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<PutBucketLifecycleConfigurationResponse.Builder,PutBucketLifecycleConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutBucketLifecycleConfigurationResponse.Builder
transitionDefaultMinimumObjectSize(String transitionDefaultMinimumObjectSize)
Indicates which default minimum object size behavior is applied to the lifecycle configuration.PutBucketLifecycleConfigurationResponse.Builder
transitionDefaultMinimumObjectSize(TransitionDefaultMinimumObjectSize transitionDefaultMinimumObjectSize)
Indicates which default minimum object size behavior is applied to the lifecycle configuration.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
transitionDefaultMinimumObjectSize
PutBucketLifecycleConfigurationResponse.Builder transitionDefaultMinimumObjectSize(String transitionDefaultMinimumObjectSize)
Indicates which default minimum object size behavior is applied to the lifecycle configuration.
This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
-
all_storage_classes_128K
- Objects smaller than 128 KB will not transition to any storage class by default. -
varies_by_storage_class
- Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB.
To customize the minimum object size for any transition you can add a filter that specifies a custom
ObjectSizeGreaterThan
orObjectSizeLessThan
in the body of your transition rule. Custom filters always take precedence over the default transition behavior.- Parameters:
transitionDefaultMinimumObjectSize
- Indicates which default minimum object size behavior is applied to the lifecycle configuration.This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
-
all_storage_classes_128K
- Objects smaller than 128 KB will not transition to any storage class by default. -
varies_by_storage_class
- Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB.
To customize the minimum object size for any transition you can add a filter that specifies a custom
ObjectSizeGreaterThan
orObjectSizeLessThan
in the body of your transition rule. Custom filters always take precedence over the default transition behavior.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitionDefaultMinimumObjectSize
,TransitionDefaultMinimumObjectSize
-
-
transitionDefaultMinimumObjectSize
PutBucketLifecycleConfigurationResponse.Builder transitionDefaultMinimumObjectSize(TransitionDefaultMinimumObjectSize transitionDefaultMinimumObjectSize)
Indicates which default minimum object size behavior is applied to the lifecycle configuration.
This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
-
all_storage_classes_128K
- Objects smaller than 128 KB will not transition to any storage class by default. -
varies_by_storage_class
- Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB.
To customize the minimum object size for any transition you can add a filter that specifies a custom
ObjectSizeGreaterThan
orObjectSizeLessThan
in the body of your transition rule. Custom filters always take precedence over the default transition behavior.- Parameters:
transitionDefaultMinimumObjectSize
- Indicates which default minimum object size behavior is applied to the lifecycle configuration.This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
-
all_storage_classes_128K
- Objects smaller than 128 KB will not transition to any storage class by default. -
varies_by_storage_class
- Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB.
To customize the minimum object size for any transition you can add a filter that specifies a custom
ObjectSizeGreaterThan
orObjectSizeLessThan
in the body of your transition rule. Custom filters always take precedence over the default transition behavior.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitionDefaultMinimumObjectSize
,TransitionDefaultMinimumObjectSize
-
-
-