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