Struct aws_sdk_s3::operation::head_bucket::builders::HeadBucketOutputBuilder
source · #[non_exhaustive]pub struct HeadBucketOutputBuilder { /* private fields */ }
Expand description
A builder for HeadBucketOutput
.
Implementations§
source§impl HeadBucketOutputBuilder
impl HeadBucketOutputBuilder
sourcepub fn bucket_location_type(self, input: LocationType) -> Self
pub fn bucket_location_type(self, input: LocationType) -> Self
The type of location where the bucket is created.
This functionality is only supported by directory buckets.
sourcepub fn set_bucket_location_type(self, input: Option<LocationType>) -> Self
pub fn set_bucket_location_type(self, input: Option<LocationType>) -> Self
The type of location where the bucket is created.
This functionality is only supported by directory buckets.
sourcepub fn get_bucket_location_type(&self) -> &Option<LocationType>
pub fn get_bucket_location_type(&self) -> &Option<LocationType>
The type of location where the bucket is created.
This functionality is only supported by directory buckets.
sourcepub fn bucket_location_name(self, input: impl Into<String>) -> Self
pub fn bucket_location_name(self, input: impl Into<String>) -> Self
The name of the location where the bucket will be created.
For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example AZ ID value is usw2-az1
.
This functionality is only supported by directory buckets.
sourcepub fn set_bucket_location_name(self, input: Option<String>) -> Self
pub fn set_bucket_location_name(self, input: Option<String>) -> Self
The name of the location where the bucket will be created.
For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example AZ ID value is usw2-az1
.
This functionality is only supported by directory buckets.
sourcepub fn get_bucket_location_name(&self) -> &Option<String>
pub fn get_bucket_location_name(&self) -> &Option<String>
The name of the location where the bucket will be created.
For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example AZ ID value is usw2-az1
.
This functionality is only supported by directory buckets.
sourcepub fn bucket_region(self, input: impl Into<String>) -> Self
pub fn bucket_region(self, input: impl Into<String>) -> Self
The Region that the bucket is located.
This functionality is not supported for directory buckets.
sourcepub fn set_bucket_region(self, input: Option<String>) -> Self
pub fn set_bucket_region(self, input: Option<String>) -> Self
The Region that the bucket is located.
This functionality is not supported for directory buckets.
sourcepub fn get_bucket_region(&self) -> &Option<String>
pub fn get_bucket_region(&self) -> &Option<String>
The Region that the bucket is located.
This functionality is not supported for directory buckets.
sourcepub fn access_point_alias(self, input: bool) -> Self
pub fn access_point_alias(self, input: bool) -> Self
Indicates whether the bucket name used in the request is an access point alias.
This functionality is not supported for directory buckets.
sourcepub fn set_access_point_alias(self, input: Option<bool>) -> Self
pub fn set_access_point_alias(self, input: Option<bool>) -> Self
Indicates whether the bucket name used in the request is an access point alias.
This functionality is not supported for directory buckets.
sourcepub fn get_access_point_alias(&self) -> &Option<bool>
pub fn get_access_point_alias(&self) -> &Option<bool>
Indicates whether the bucket name used in the request is an access point alias.
This functionality is not supported for directory buckets.
sourcepub fn build(self) -> HeadBucketOutput
pub fn build(self) -> HeadBucketOutput
Consumes the builder and constructs a HeadBucketOutput
.
Trait Implementations§
source§impl Clone for HeadBucketOutputBuilder
impl Clone for HeadBucketOutputBuilder
source§fn clone(&self) -> HeadBucketOutputBuilder
fn clone(&self) -> HeadBucketOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HeadBucketOutputBuilder
impl Debug for HeadBucketOutputBuilder
source§impl Default for HeadBucketOutputBuilder
impl Default for HeadBucketOutputBuilder
source§fn default() -> HeadBucketOutputBuilder
fn default() -> HeadBucketOutputBuilder
source§impl PartialEq for HeadBucketOutputBuilder
impl PartialEq for HeadBucketOutputBuilder
impl StructuralPartialEq for HeadBucketOutputBuilder
Auto Trait Implementations§
impl Freeze for HeadBucketOutputBuilder
impl RefUnwindSafe for HeadBucketOutputBuilder
impl Send for HeadBucketOutputBuilder
impl Sync for HeadBucketOutputBuilder
impl Unpin for HeadBucketOutputBuilder
impl UnwindSafe for HeadBucketOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)