Class DeleteBucketLifecycleRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<DeleteBucketLifecycleRequest.Builder,DeleteBucketLifecycleRequest>

@Generated("software.amazon.awssdk:codegen") public final class DeleteBucketLifecycleRequest extends S3Request implements ToCopyableBuilder<DeleteBucketLifecycleRequest.Builder,DeleteBucketLifecycleRequest>
  • Method Details

    • bucket

      public final String bucket()

      The bucket name of the lifecycle to delete.

      Returns:
      The bucket name of the lifecycle to delete.
    • expectedBucketOwner

      public final 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.

      Returns:
      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.

    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<DeleteBucketLifecycleRequest.Builder,DeleteBucketLifecycleRequest>
      Specified by:
      toBuilder in class S3Request
    • builder

      public static DeleteBucketLifecycleRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DeleteBucketLifecycleRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo