Struct aws_sdk_opensearch::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
The name of the Amazon S3 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
The name of the Amazon S3 bucket containing the package.
sourcepub fn get_s3_bucket_name(&self) -> &Option<String>
pub fn get_s3_bucket_name(&self) -> &Option<String>
The name of the Amazon S3 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
source§fn eq(&self, other: &PackageSourceBuilder) -> bool
fn eq(&self, other: &PackageSourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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> 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>
Creates a shared type from an unshared type.