Struct aws_sdk_tnb::operation::put_sol_function_package_content::builders::PutSolFunctionPackageContentFluentBuilder
source · pub struct PutSolFunctionPackageContentFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to PutSolFunctionPackageContent.
Uploads the contents of a function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
Implementations§
source§impl PutSolFunctionPackageContentFluentBuilder
impl PutSolFunctionPackageContentFluentBuilder
sourcepub fn as_input(&self) -> &PutSolFunctionPackageContentInputBuilder
pub fn as_input(&self) -> &PutSolFunctionPackageContentInputBuilder
Access the PutSolFunctionPackageContent as a reference.
sourcepub async fn send(
self
) -> Result<PutSolFunctionPackageContentOutput, SdkError<PutSolFunctionPackageContentError, HttpResponse>>
pub async fn send( self ) -> Result<PutSolFunctionPackageContentOutput, SdkError<PutSolFunctionPackageContentError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<PutSolFunctionPackageContentOutput, PutSolFunctionPackageContentError, Self>
pub fn customize( self ) -> CustomizableOperation<PutSolFunctionPackageContentOutput, PutSolFunctionPackageContentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
Trait Implementations§
source§impl Clone for PutSolFunctionPackageContentFluentBuilder
impl Clone for PutSolFunctionPackageContentFluentBuilder
source§fn clone(&self) -> PutSolFunctionPackageContentFluentBuilder
fn clone(&self) -> PutSolFunctionPackageContentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more