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.
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 package_type(self, input: PackageType) -> Self
pub fn package_type(self, input: PackageType) -> Self
Type of package. Currently supports only TXT-DICTIONARY.
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 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 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 build(self) -> Result<CreatePackageInput, BuildError>
pub fn build(self) -> Result<CreatePackageInput, BuildError>
Consumes the builder and constructs a CreatePackageInput.
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<CreatePackageInputBuilder> for CreatePackageInputBuilder
impl PartialEq<CreatePackageInputBuilder> 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 ==.