Struct aws_sdk_s3::types::builders::LocationInfoBuilder
source · #[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 AZ ID of the Availability Zone 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 AZ ID of the Availability Zone 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 AZ ID of the Availability Zone 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)