Struct aws_sdk_elasticsearch::operation::create_package::builders::CreatePackageInputBuilder
source · #[non_exhaustive]pub struct CreatePackageInputBuilder { /* private fields */ }
Expand description
A builder for CreatePackageInput
.
Implementations§
source§impl CreatePackageInputBuilder
impl CreatePackageInputBuilder
sourcepub fn package_name(self, input: impl Into<String>) -> Self
pub fn package_name(self, input: impl Into<String>) -> Self
Unique identifier for the package.
This field is required.sourcepub fn set_package_name(self, input: Option<String>) -> Self
pub fn set_package_name(self, input: Option<String>) -> Self
Unique identifier for the package.
sourcepub fn get_package_name(&self) -> &Option<String>
pub fn get_package_name(&self) -> &Option<String>
Unique identifier for the package.
sourcepub fn package_type(self, input: PackageType) -> Self
pub fn package_type(self, input: PackageType) -> Self
Type of package. Currently supports only TXT-DICTIONARY.
This field is required.sourcepub fn set_package_type(self, input: Option<PackageType>) -> Self
pub fn set_package_type(self, input: Option<PackageType>) -> Self
Type of package. Currently supports only TXT-DICTIONARY.
sourcepub fn get_package_type(&self) -> &Option<PackageType>
pub fn get_package_type(&self) -> &Option<PackageType>
Type of package. Currently supports only TXT-DICTIONARY.
sourcepub fn package_description(self, input: impl Into<String>) -> Self
pub fn package_description(self, input: impl Into<String>) -> Self
Description of the package.
sourcepub fn set_package_description(self, input: Option<String>) -> Self
pub fn set_package_description(self, input: Option<String>) -> Self
Description of the package.
sourcepub fn get_package_description(&self) -> &Option<String>
pub fn get_package_description(&self) -> &Option<String>
Description of the package.
sourcepub fn package_source(self, input: PackageSource) -> Self
pub fn package_source(self, input: PackageSource) -> Self
The customer S3 location PackageSource
for importing the package.
sourcepub fn set_package_source(self, input: Option<PackageSource>) -> Self
pub fn set_package_source(self, input: Option<PackageSource>) -> Self
The customer S3 location PackageSource
for importing the package.
sourcepub fn get_package_source(&self) -> &Option<PackageSource>
pub fn get_package_source(&self) -> &Option<PackageSource>
The customer S3 location PackageSource
for importing the package.
sourcepub fn build(self) -> Result<CreatePackageInput, BuildError>
pub fn build(self) -> Result<CreatePackageInput, BuildError>
Consumes the builder and constructs a CreatePackageInput
.
source§impl CreatePackageInputBuilder
impl CreatePackageInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreatePackageOutput, SdkError<CreatePackageError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreatePackageOutput, SdkError<CreatePackageError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreatePackageInputBuilder
impl Clone for CreatePackageInputBuilder
source§fn clone(&self) -> CreatePackageInputBuilder
fn clone(&self) -> CreatePackageInputBuilder
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 CreatePackageInputBuilder
impl Debug for CreatePackageInputBuilder
source§impl Default for CreatePackageInputBuilder
impl Default for CreatePackageInputBuilder
source§fn default() -> CreatePackageInputBuilder
fn default() -> CreatePackageInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreatePackageInputBuilder
impl PartialEq for CreatePackageInputBuilder
source§fn eq(&self, other: &CreatePackageInputBuilder) -> bool
fn eq(&self, other: &CreatePackageInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreatePackageInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreatePackageInputBuilder
impl Send for CreatePackageInputBuilder
impl Sync for CreatePackageInputBuilder
impl Unpin for CreatePackageInputBuilder
impl UnwindSafe for CreatePackageInputBuilder
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.