Interface Bucket.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Bucket.Builder,Bucket>, SdkBuilder<Bucket.Builder,Bucket>, SdkPojo
Enclosing class:
Bucket

@Mutable @NotThreadSafe public static interface Bucket.Builder extends SdkPojo, CopyableBuilder<Bucket.Builder,Bucket>
  • Method Details

    • name

      Bucket.Builder name(String name)

      The name of the bucket.

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

      Bucket.Builder creationDate(Instant creationDate)

      Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.

      Parameters:
      creationDate - Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketRegion

      Bucket.Builder bucketRegion(String bucketRegion)

      BucketRegion indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.

      Parameters:
      bucketRegion - BucketRegion indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketArn

      Bucket.Builder bucketArn(String bucketArn)

      The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.

      This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.

      Parameters:
      bucketArn - The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.

      This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.

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