Struct aws_sdk_tnb::operation::put_sol_function_package_content::builders::PutSolFunctionPackageContentOutputBuilder
source · #[non_exhaustive]pub struct PutSolFunctionPackageContentOutputBuilder { /* private fields */ }Expand description
A builder for PutSolFunctionPackageContentOutput.
Implementations§
source§impl PutSolFunctionPackageContentOutputBuilder
impl PutSolFunctionPackageContentOutputBuilder
sourcepub fn vnfd_id(self, input: impl Into<String>) -> Self
pub fn vnfd_id(self, input: impl Into<String>) -> Self
Function package descriptor ID.
This field is required.sourcepub fn set_vnfd_id(self, input: Option<String>) -> Self
pub fn set_vnfd_id(self, input: Option<String>) -> Self
Function package descriptor ID.
sourcepub fn get_vnfd_id(&self) -> &Option<String>
pub fn get_vnfd_id(&self) -> &Option<String>
Function package descriptor ID.
sourcepub fn vnf_product_name(self, input: impl Into<String>) -> Self
pub fn vnf_product_name(self, input: impl Into<String>) -> Self
Function product name.
This field is required.sourcepub fn set_vnf_product_name(self, input: Option<String>) -> Self
pub fn set_vnf_product_name(self, input: Option<String>) -> Self
Function product name.
sourcepub fn get_vnf_product_name(&self) -> &Option<String>
pub fn get_vnf_product_name(&self) -> &Option<String>
Function product name.
sourcepub fn vnf_provider(self, input: impl Into<String>) -> Self
pub fn vnf_provider(self, input: impl Into<String>) -> Self
Function provider.
This field is required.sourcepub fn set_vnf_provider(self, input: Option<String>) -> Self
pub fn set_vnf_provider(self, input: Option<String>) -> Self
Function provider.
sourcepub fn get_vnf_provider(&self) -> &Option<String>
pub fn get_vnf_provider(&self) -> &Option<String>
Function provider.
sourcepub fn vnfd_version(self, input: impl Into<String>) -> Self
pub fn vnfd_version(self, input: impl Into<String>) -> Self
Function package descriptor version.
This field is required.sourcepub fn set_vnfd_version(self, input: Option<String>) -> Self
pub fn set_vnfd_version(self, input: Option<String>) -> Self
Function package descriptor version.
sourcepub fn get_vnfd_version(&self) -> &Option<String>
pub fn get_vnfd_version(&self) -> &Option<String>
Function package descriptor version.
sourcepub fn metadata(self, input: PutSolFunctionPackageContentMetadata) -> Self
pub fn metadata(self, input: PutSolFunctionPackageContentMetadata) -> Self
Function package metadata.
This field is required.sourcepub fn set_metadata(
self,
input: Option<PutSolFunctionPackageContentMetadata>
) -> Self
pub fn set_metadata( self, input: Option<PutSolFunctionPackageContentMetadata> ) -> Self
Function package metadata.
sourcepub fn get_metadata(&self) -> &Option<PutSolFunctionPackageContentMetadata>
pub fn get_metadata(&self) -> &Option<PutSolFunctionPackageContentMetadata>
Function package metadata.
sourcepub fn build(self) -> Result<PutSolFunctionPackageContentOutput, BuildError>
pub fn build(self) -> Result<PutSolFunctionPackageContentOutput, BuildError>
Consumes the builder and constructs a PutSolFunctionPackageContentOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PutSolFunctionPackageContentOutputBuilder
impl Clone for PutSolFunctionPackageContentOutputBuilder
source§fn clone(&self) -> PutSolFunctionPackageContentOutputBuilder
fn clone(&self) -> PutSolFunctionPackageContentOutputBuilder
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 Default for PutSolFunctionPackageContentOutputBuilder
impl Default for PutSolFunctionPackageContentOutputBuilder
source§fn default() -> PutSolFunctionPackageContentOutputBuilder
fn default() -> PutSolFunctionPackageContentOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutSolFunctionPackageContentOutputBuilder
impl PartialEq for PutSolFunctionPackageContentOutputBuilder
source§fn eq(&self, other: &PutSolFunctionPackageContentOutputBuilder) -> bool
fn eq(&self, other: &PutSolFunctionPackageContentOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutSolFunctionPackageContentOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PutSolFunctionPackageContentOutputBuilder
impl Send for PutSolFunctionPackageContentOutputBuilder
impl Sync for PutSolFunctionPackageContentOutputBuilder
impl Unpin for PutSolFunctionPackageContentOutputBuilder
impl UnwindSafe for PutSolFunctionPackageContentOutputBuilder
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.