Interface Bucket.Builder

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

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.