#[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 Zone ID of the Availability Zone or the Local Zone where the bucket is created. An example Zone ID value for an Availability Zone 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 Zone ID of the Availability Zone or the Local Zone where the bucket is created. An example Zone ID value for an Availability Zone 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 Zone ID of the Availability Zone or the Local Zone where the bucket is created. An example Zone ID value for an Availability Zone 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.
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.
sourcepub fn get_bucket_region(&self) -> &Option<String>
pub fn get_bucket_region(&self) -> &Option<String>
The Region that the bucket is located.
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.
For directory buckets, the value of this field is false
.
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.
For directory buckets, the value of this field is false
.
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.
For directory buckets, the value of this field is false
.
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more