Struct aws_sdk_tnb::operation::get_sol_function_package_content::builders::GetSolFunctionPackageContentFluentBuilder
source · pub struct GetSolFunctionPackageContentFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetSolFunctionPackageContent.
Gets 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 GetSolFunctionPackageContentFluentBuilder
impl GetSolFunctionPackageContentFluentBuilder
sourcepub fn as_input(&self) -> &GetSolFunctionPackageContentInputBuilder
pub fn as_input(&self) -> &GetSolFunctionPackageContentInputBuilder
Access the GetSolFunctionPackageContent as a reference.
sourcepub async fn send(
self
) -> Result<GetSolFunctionPackageContentOutput, SdkError<GetSolFunctionPackageContentError, HttpResponse>>
pub async fn send( self ) -> Result<GetSolFunctionPackageContentOutput, SdkError<GetSolFunctionPackageContentError, 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 async fn customize(
self
) -> Result<CustomizableOperation<GetSolFunctionPackageContentOutput, GetSolFunctionPackageContentError, Self>, SdkError<GetSolFunctionPackageContentError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetSolFunctionPackageContentOutput, GetSolFunctionPackageContentError, Self>, SdkError<GetSolFunctionPackageContentError>>
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
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.
Trait Implementations§
source§impl Clone for GetSolFunctionPackageContentFluentBuilder
impl Clone for GetSolFunctionPackageContentFluentBuilder
source§fn clone(&self) -> GetSolFunctionPackageContentFluentBuilder
fn clone(&self) -> GetSolFunctionPackageContentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more