Struct aws_sdk_tnb::operation::validate_sol_function_package_content::builders::ValidateSolFunctionPackageContentInputBuilder
source · #[non_exhaustive]pub struct ValidateSolFunctionPackageContentInputBuilder { /* private fields */ }Expand description
A builder for ValidateSolFunctionPackageContentInput.
Implementations§
source§impl ValidateSolFunctionPackageContentInputBuilder
impl ValidateSolFunctionPackageContentInputBuilder
sourcepub fn vnf_pkg_id(self, input: impl Into<String>) -> Self
pub fn vnf_pkg_id(self, input: impl Into<String>) -> Self
Function package ID.
This field is required.sourcepub fn set_vnf_pkg_id(self, input: Option<String>) -> Self
pub fn set_vnf_pkg_id(self, input: Option<String>) -> Self
Function package ID.
sourcepub fn get_vnf_pkg_id(&self) -> &Option<String>
pub fn get_vnf_pkg_id(&self) -> &Option<String>
Function package ID.
sourcepub fn content_type(self, input: PackageContentType) -> Self
pub fn content_type(self, input: PackageContentType) -> Self
Function package content type.
sourcepub fn set_content_type(self, input: Option<PackageContentType>) -> Self
pub fn set_content_type(self, input: Option<PackageContentType>) -> Self
Function package content type.
sourcepub fn get_content_type(&self) -> &Option<PackageContentType>
pub fn get_content_type(&self) -> &Option<PackageContentType>
Function package content type.
sourcepub fn build(self) -> Result<ValidateSolFunctionPackageContentInput, BuildError>
pub fn build(self) -> Result<ValidateSolFunctionPackageContentInput, BuildError>
Consumes the builder and constructs a ValidateSolFunctionPackageContentInput.
source§impl ValidateSolFunctionPackageContentInputBuilder
impl ValidateSolFunctionPackageContentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ValidateSolFunctionPackageContentOutput, SdkError<ValidateSolFunctionPackageContentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ValidateSolFunctionPackageContentOutput, SdkError<ValidateSolFunctionPackageContentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ValidateSolFunctionPackageContentInputBuilder
impl Clone for ValidateSolFunctionPackageContentInputBuilder
source§fn clone(&self) -> ValidateSolFunctionPackageContentInputBuilder
fn clone(&self) -> ValidateSolFunctionPackageContentInputBuilder
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 ValidateSolFunctionPackageContentInputBuilder
impl Default for ValidateSolFunctionPackageContentInputBuilder
source§fn default() -> ValidateSolFunctionPackageContentInputBuilder
fn default() -> ValidateSolFunctionPackageContentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ValidateSolFunctionPackageContentInputBuilder
impl PartialEq for ValidateSolFunctionPackageContentInputBuilder
source§fn eq(&self, other: &ValidateSolFunctionPackageContentInputBuilder) -> bool
fn eq(&self, other: &ValidateSolFunctionPackageContentInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ValidateSolFunctionPackageContentInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ValidateSolFunctionPackageContentInputBuilder
impl Send for ValidateSolFunctionPackageContentInputBuilder
impl Sync for ValidateSolFunctionPackageContentInputBuilder
impl Unpin for ValidateSolFunctionPackageContentInputBuilder
impl UnwindSafe for ValidateSolFunctionPackageContentInputBuilder
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.