#[non_exhaustive]pub struct LocationInfoBuilder { /* private fields */ }
Expand description
A builder for LocationInfo
.
Implementations§
source§impl LocationInfoBuilder
impl LocationInfoBuilder
sourcepub fn type(self, input: LocationType) -> Self
pub fn type(self, input: LocationType) -> Self
The type of location where the bucket will be created.
sourcepub fn set_type(self, input: Option<LocationType>) -> Self
pub fn set_type(self, input: Option<LocationType>) -> Self
The type of location where the bucket will be created.
sourcepub fn get_type(&self) -> &Option<LocationType>
pub fn get_type(&self) -> &Option<LocationType>
The type of location where the bucket will be created.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the location where the bucket will be created.
For directory buckets, the name of the location is the Zone ID of the Availability Zone (AZ) or Local Zone (LZ) where the bucket will be created. An example AZ ID value is usw2-az1
.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the location where the bucket will be created.
For directory buckets, the name of the location is the Zone ID of the Availability Zone (AZ) or Local Zone (LZ) where the bucket will be created. An example AZ ID value is usw2-az1
.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the location where the bucket will be created.
For directory buckets, the name of the location is the Zone ID of the Availability Zone (AZ) or Local Zone (LZ) where the bucket will be created. An example AZ ID value is usw2-az1
.
sourcepub fn build(self) -> LocationInfo
pub fn build(self) -> LocationInfo
Consumes the builder and constructs a LocationInfo
.
Trait Implementations§
source§impl Clone for LocationInfoBuilder
impl Clone for LocationInfoBuilder
source§fn clone(&self) -> LocationInfoBuilder
fn clone(&self) -> LocationInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LocationInfoBuilder
impl Debug for LocationInfoBuilder
source§impl Default for LocationInfoBuilder
impl Default for LocationInfoBuilder
source§fn default() -> LocationInfoBuilder
fn default() -> LocationInfoBuilder
source§impl PartialEq for LocationInfoBuilder
impl PartialEq for LocationInfoBuilder
impl StructuralPartialEq for LocationInfoBuilder
Auto Trait Implementations§
impl Freeze for LocationInfoBuilder
impl RefUnwindSafe for LocationInfoBuilder
impl Send for LocationInfoBuilder
impl Sync for LocationInfoBuilder
impl Unpin for LocationInfoBuilder
impl UnwindSafe for LocationInfoBuilder
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