Struct aws_sdk_elasticsearch::operation::associate_package::builders::AssociatePackageInputBuilder
source · #[non_exhaustive]pub struct AssociatePackageInputBuilder { /* private fields */ }Expand description
A builder for AssociatePackageInput.
Implementations§
source§impl AssociatePackageInputBuilder
impl AssociatePackageInputBuilder
sourcepub fn package_id(self, input: impl Into<String>) -> Self
pub fn package_id(self, input: impl Into<String>) -> Self
Internal ID of the package that you want to associate with a domain. Use DescribePackages to find this value.
sourcepub fn set_package_id(self, input: Option<String>) -> Self
pub fn set_package_id(self, input: Option<String>) -> Self
Internal ID of the package that you want to associate with a domain. Use DescribePackages to find this value.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
Name of the domain that you want to associate the package with.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
Name of the domain that you want to associate the package with.
sourcepub fn build(self) -> Result<AssociatePackageInput, BuildError>
pub fn build(self) -> Result<AssociatePackageInput, BuildError>
Consumes the builder and constructs a AssociatePackageInput.
Trait Implementations§
source§impl Clone for AssociatePackageInputBuilder
impl Clone for AssociatePackageInputBuilder
source§fn clone(&self) -> AssociatePackageInputBuilder
fn clone(&self) -> AssociatePackageInputBuilder
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 AssociatePackageInputBuilder
impl Debug for AssociatePackageInputBuilder
source§impl Default for AssociatePackageInputBuilder
impl Default for AssociatePackageInputBuilder
source§fn default() -> AssociatePackageInputBuilder
fn default() -> AssociatePackageInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AssociatePackageInputBuilder> for AssociatePackageInputBuilder
impl PartialEq<AssociatePackageInputBuilder> for AssociatePackageInputBuilder
source§fn eq(&self, other: &AssociatePackageInputBuilder) -> bool
fn eq(&self, other: &AssociatePackageInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.