Struct aws_sdk_tnb::operation::get_sol_function_package_content::builders::GetSolFunctionPackageContentInputBuilder
source · #[non_exhaustive]pub struct GetSolFunctionPackageContentInputBuilder { /* private fields */ }Expand description
A builder for GetSolFunctionPackageContentInput.
Implementations§
source§impl GetSolFunctionPackageContentInputBuilder
impl GetSolFunctionPackageContentInputBuilder
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.
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 accept(self, input: PackageContentType) -> Self
pub fn accept(self, input: PackageContentType) -> Self
The format of the package that you want to download from the function packages.
sourcepub fn set_accept(self, input: Option<PackageContentType>) -> Self
pub fn set_accept(self, input: Option<PackageContentType>) -> Self
The format of the package that you want to download from the function packages.
sourcepub fn get_accept(&self) -> &Option<PackageContentType>
pub fn get_accept(&self) -> &Option<PackageContentType>
The format of the package that you want to download from the function packages.
sourcepub fn build(self) -> Result<GetSolFunctionPackageContentInput, BuildError>
pub fn build(self) -> Result<GetSolFunctionPackageContentInput, BuildError>
Consumes the builder and constructs a GetSolFunctionPackageContentInput.
source§impl GetSolFunctionPackageContentInputBuilder
impl GetSolFunctionPackageContentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetSolFunctionPackageContentOutput, SdkError<GetSolFunctionPackageContentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetSolFunctionPackageContentOutput, SdkError<GetSolFunctionPackageContentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetSolFunctionPackageContentInputBuilder
impl Clone for GetSolFunctionPackageContentInputBuilder
source§fn clone(&self) -> GetSolFunctionPackageContentInputBuilder
fn clone(&self) -> GetSolFunctionPackageContentInputBuilder
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 GetSolFunctionPackageContentInputBuilder
impl Default for GetSolFunctionPackageContentInputBuilder
source§fn default() -> GetSolFunctionPackageContentInputBuilder
fn default() -> GetSolFunctionPackageContentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetSolFunctionPackageContentInputBuilder
impl PartialEq for GetSolFunctionPackageContentInputBuilder
source§fn eq(&self, other: &GetSolFunctionPackageContentInputBuilder) -> bool
fn eq(&self, other: &GetSolFunctionPackageContentInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetSolFunctionPackageContentInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetSolFunctionPackageContentInputBuilder
impl Send for GetSolFunctionPackageContentInputBuilder
impl Sync for GetSolFunctionPackageContentInputBuilder
impl Unpin for GetSolFunctionPackageContentInputBuilder
impl UnwindSafe for GetSolFunctionPackageContentInputBuilder
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