Interface PutBucketAbacRequest.Builder

  • Method Details

    • bucket

      The name of the general purpose bucket.

      Parameters:
      bucket - The name of the general purpose bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentMD5

      PutBucketAbacRequest.Builder contentMD5(String contentMD5)

      The MD5 hash of the PutBucketAbac request body.

      For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

      Parameters:
      contentMD5 - The MD5 hash of the PutBucketAbac request body.

      For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumAlgorithm

      PutBucketAbacRequest.Builder checksumAlgorithm(String checksumAlgorithm)

      Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumAlgorithm - Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksumAlgorithm

      PutBucketAbacRequest.Builder checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)

      Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumAlgorithm - Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expectedBucketOwner

      PutBucketAbacRequest.Builder expectedBucketOwner(String expectedBucketOwner)

      The Amazon Web Services account ID of the general purpose bucket's owner.

      Parameters:
      expectedBucketOwner - The Amazon Web Services account ID of the general purpose bucket's owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • abacStatus

      PutBucketAbacRequest.Builder abacStatus(AbacStatus abacStatus)

      The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.

      Parameters:
      abacStatus - The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • abacStatus

      default PutBucketAbacRequest.Builder abacStatus(Consumer<AbacStatus.Builder> abacStatus)

      The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.

      This is a convenience method that creates an instance of the AbacStatus.Builder avoiding the need to create one manually via AbacStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to abacStatus(AbacStatus).

      Parameters:
      abacStatus - a consumer that will call methods on AbacStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      PutBucketAbacRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.