Struct aws_sdk_tnb::operation::get_sol_network_package::builders::GetSolNetworkPackageOutputBuilder
source · #[non_exhaustive]pub struct GetSolNetworkPackageOutputBuilder { /* private fields */ }Expand description
A builder for GetSolNetworkPackageOutput.
Implementations§
source§impl GetSolNetworkPackageOutputBuilder
impl GetSolNetworkPackageOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
Network package ARN.
This field is required.sourcepub fn nsd_onboarding_state(self, input: NsdOnboardingState) -> Self
pub fn nsd_onboarding_state(self, input: NsdOnboardingState) -> Self
Network service descriptor onboarding state.
This field is required.sourcepub fn set_nsd_onboarding_state(self, input: Option<NsdOnboardingState>) -> Self
pub fn set_nsd_onboarding_state(self, input: Option<NsdOnboardingState>) -> Self
Network service descriptor onboarding state.
sourcepub fn get_nsd_onboarding_state(&self) -> &Option<NsdOnboardingState>
pub fn get_nsd_onboarding_state(&self) -> &Option<NsdOnboardingState>
Network service descriptor onboarding state.
sourcepub fn nsd_operational_state(self, input: NsdOperationalState) -> Self
pub fn nsd_operational_state(self, input: NsdOperationalState) -> Self
Network service descriptor operational state.
This field is required.sourcepub fn set_nsd_operational_state(
self,
input: Option<NsdOperationalState>
) -> Self
pub fn set_nsd_operational_state( self, input: Option<NsdOperationalState> ) -> Self
Network service descriptor operational state.
sourcepub fn get_nsd_operational_state(&self) -> &Option<NsdOperationalState>
pub fn get_nsd_operational_state(&self) -> &Option<NsdOperationalState>
Network service descriptor operational state.
sourcepub fn nsd_usage_state(self, input: NsdUsageState) -> Self
pub fn nsd_usage_state(self, input: NsdUsageState) -> Self
Network service descriptor usage state.
This field is required.sourcepub fn set_nsd_usage_state(self, input: Option<NsdUsageState>) -> Self
pub fn set_nsd_usage_state(self, input: Option<NsdUsageState>) -> Self
Network service descriptor usage state.
sourcepub fn get_nsd_usage_state(&self) -> &Option<NsdUsageState>
pub fn get_nsd_usage_state(&self) -> &Option<NsdUsageState>
Network service descriptor usage state.
sourcepub fn nsd_id(self, input: impl Into<String>) -> Self
pub fn nsd_id(self, input: impl Into<String>) -> Self
Network service descriptor ID.
This field is required.sourcepub fn set_nsd_id(self, input: Option<String>) -> Self
pub fn set_nsd_id(self, input: Option<String>) -> Self
Network service descriptor ID.
sourcepub fn get_nsd_id(&self) -> &Option<String>
pub fn get_nsd_id(&self) -> &Option<String>
Network service descriptor ID.
sourcepub fn nsd_name(self, input: impl Into<String>) -> Self
pub fn nsd_name(self, input: impl Into<String>) -> Self
Network service descriptor name.
This field is required.sourcepub fn set_nsd_name(self, input: Option<String>) -> Self
pub fn set_nsd_name(self, input: Option<String>) -> Self
Network service descriptor name.
sourcepub fn get_nsd_name(&self) -> &Option<String>
pub fn get_nsd_name(&self) -> &Option<String>
Network service descriptor name.
sourcepub fn nsd_version(self, input: impl Into<String>) -> Self
pub fn nsd_version(self, input: impl Into<String>) -> Self
Network service descriptor version.
This field is required.sourcepub fn set_nsd_version(self, input: Option<String>) -> Self
pub fn set_nsd_version(self, input: Option<String>) -> Self
Network service descriptor version.
sourcepub fn get_nsd_version(&self) -> &Option<String>
pub fn get_nsd_version(&self) -> &Option<String>
Network service descriptor version.
sourcepub fn vnf_pkg_ids(self, input: impl Into<String>) -> Self
pub fn vnf_pkg_ids(self, input: impl Into<String>) -> Self
Appends an item to vnf_pkg_ids.
To override the contents of this collection use set_vnf_pkg_ids.
Identifies the function package for the function package descriptor referenced by the onboarded network package.
sourcepub fn set_vnf_pkg_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_vnf_pkg_ids(self, input: Option<Vec<String>>) -> Self
Identifies the function package for the function package descriptor referenced by the onboarded network package.
sourcepub fn get_vnf_pkg_ids(&self) -> &Option<Vec<String>>
pub fn get_vnf_pkg_ids(&self) -> &Option<Vec<String>>
Identifies the function package for the function package descriptor referenced by the onboarded network package.
sourcepub fn metadata(self, input: GetSolNetworkPackageMetadata) -> Self
pub fn metadata(self, input: GetSolNetworkPackageMetadata) -> Self
Metadata associated with a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
This field is required.sourcepub fn set_metadata(self, input: Option<GetSolNetworkPackageMetadata>) -> Self
pub fn set_metadata(self, input: Option<GetSolNetworkPackageMetadata>) -> Self
Metadata associated with a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
sourcepub fn get_metadata(&self) -> &Option<GetSolNetworkPackageMetadata>
pub fn get_metadata(&self) -> &Option<GetSolNetworkPackageMetadata>
Metadata associated with a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
sourcepub fn build(self) -> Result<GetSolNetworkPackageOutput, BuildError>
pub fn build(self) -> Result<GetSolNetworkPackageOutput, BuildError>
Consumes the builder and constructs a GetSolNetworkPackageOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetSolNetworkPackageOutputBuilder
impl Clone for GetSolNetworkPackageOutputBuilder
source§fn clone(&self) -> GetSolNetworkPackageOutputBuilder
fn clone(&self) -> GetSolNetworkPackageOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetSolNetworkPackageOutputBuilder
impl Default for GetSolNetworkPackageOutputBuilder
source§fn default() -> GetSolNetworkPackageOutputBuilder
fn default() -> GetSolNetworkPackageOutputBuilder
source§impl PartialEq for GetSolNetworkPackageOutputBuilder
impl PartialEq for GetSolNetworkPackageOutputBuilder
source§fn eq(&self, other: &GetSolNetworkPackageOutputBuilder) -> bool
fn eq(&self, other: &GetSolNetworkPackageOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.