Struct aws_sdk_elasticsearch::types::builders::PackageSourceBuilder
source · #[non_exhaustive]pub struct PackageSourceBuilder { /* private fields */ }
Expand description
A builder for PackageSource
.
Implementations§
source§impl PackageSourceBuilder
impl PackageSourceBuilder
sourcepub fn s3_bucket_name(self, input: impl Into<String>) -> Self
pub fn s3_bucket_name(self, input: impl Into<String>) -> Self
Name of the bucket containing the package.
sourcepub fn set_s3_bucket_name(self, input: Option<String>) -> Self
pub fn set_s3_bucket_name(self, input: Option<String>) -> Self
Name of the bucket containing the package.
sourcepub fn get_s3_bucket_name(&self) -> &Option<String>
pub fn get_s3_bucket_name(&self) -> &Option<String>
Name of the bucket containing the package.
sourcepub fn set_s3_key(self, input: Option<String>) -> Self
pub fn set_s3_key(self, input: Option<String>) -> Self
Key (file name) of the package.
sourcepub fn get_s3_key(&self) -> &Option<String>
pub fn get_s3_key(&self) -> &Option<String>
Key (file name) of the package.
sourcepub fn build(self) -> PackageSource
pub fn build(self) -> PackageSource
Consumes the builder and constructs a PackageSource
.
Trait Implementations§
source§impl Clone for PackageSourceBuilder
impl Clone for PackageSourceBuilder
source§fn clone(&self) -> PackageSourceBuilder
fn clone(&self) -> PackageSourceBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PackageSourceBuilder
impl Debug for PackageSourceBuilder
source§impl Default for PackageSourceBuilder
impl Default for PackageSourceBuilder
source§fn default() -> PackageSourceBuilder
fn default() -> PackageSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PackageSourceBuilder
impl PartialEq for PackageSourceBuilder
impl StructuralPartialEq for PackageSourceBuilder
Auto Trait Implementations§
impl Freeze for PackageSourceBuilder
impl RefUnwindSafe for PackageSourceBuilder
impl Send for PackageSourceBuilder
impl Sync for PackageSourceBuilder
impl Unpin for PackageSourceBuilder
impl UnwindSafe for PackageSourceBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.