Struct aws_sdk_opensearch::input::CreatePackageInput
source · #[non_exhaustive]pub struct CreatePackageInput { /* private fields */ }
Expand description
Container for request parameters to the CreatePackage
operation.
Implementations§
source§impl CreatePackageInput
impl CreatePackageInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePackage, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePackage, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreatePackage
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreatePackageInput
.
source§impl CreatePackageInput
impl CreatePackageInput
sourcepub fn package_name(&self) -> Option<&str>
pub fn package_name(&self) -> Option<&str>
Unique name for the package.
sourcepub fn package_type(&self) -> Option<&PackageType>
pub fn package_type(&self) -> Option<&PackageType>
Type of package.
sourcepub fn package_description(&self) -> Option<&str>
pub fn package_description(&self) -> Option<&str>
Description of the package.
sourcepub fn package_source(&self) -> Option<&PackageSource>
pub fn package_source(&self) -> Option<&PackageSource>
The Amazon S3 location from which to import the package.
Trait Implementations§
source§impl Clone for CreatePackageInput
impl Clone for CreatePackageInput
source§fn clone(&self) -> CreatePackageInput
fn clone(&self) -> CreatePackageInput
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 CreatePackageInput
impl Debug for CreatePackageInput
source§impl PartialEq<CreatePackageInput> for CreatePackageInput
impl PartialEq<CreatePackageInput> for CreatePackageInput
source§fn eq(&self, other: &CreatePackageInput) -> bool
fn eq(&self, other: &CreatePackageInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.