#[non_exhaustive]pub struct GetSolFunctionPackageMetadataBuilder { /* private fields */ }Expand description
A builder for GetSolFunctionPackageMetadata.
Implementations§
source§impl GetSolFunctionPackageMetadataBuilder
impl GetSolFunctionPackageMetadataBuilder
sourcepub fn vnfd(self, input: FunctionArtifactMeta) -> Self
pub fn vnfd(self, input: FunctionArtifactMeta) -> Self
Metadata related to the function package descriptor of the function package.
sourcepub fn set_vnfd(self, input: Option<FunctionArtifactMeta>) -> Self
pub fn set_vnfd(self, input: Option<FunctionArtifactMeta>) -> Self
Metadata related to the function package descriptor of the function package.
sourcepub fn get_vnfd(&self) -> &Option<FunctionArtifactMeta>
pub fn get_vnfd(&self) -> &Option<FunctionArtifactMeta>
Metadata related to the function package descriptor of the function package.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date that the resource was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date that the resource was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date that the resource was created.
sourcepub fn last_modified(self, input: DateTime) -> Self
pub fn last_modified(self, input: DateTime) -> Self
The date that the resource was last modified.
This field is required.sourcepub fn set_last_modified(self, input: Option<DateTime>) -> Self
pub fn set_last_modified(self, input: Option<DateTime>) -> Self
The date that the resource was last modified.
sourcepub fn get_last_modified(&self) -> &Option<DateTime>
pub fn get_last_modified(&self) -> &Option<DateTime>
The date that the resource was last modified.
sourcepub fn build(self) -> Result<GetSolFunctionPackageMetadata, BuildError>
pub fn build(self) -> Result<GetSolFunctionPackageMetadata, BuildError>
Consumes the builder and constructs a GetSolFunctionPackageMetadata.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetSolFunctionPackageMetadataBuilder
impl Clone for GetSolFunctionPackageMetadataBuilder
source§fn clone(&self) -> GetSolFunctionPackageMetadataBuilder
fn clone(&self) -> GetSolFunctionPackageMetadataBuilder
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 GetSolFunctionPackageMetadataBuilder
impl Default for GetSolFunctionPackageMetadataBuilder
source§fn default() -> GetSolFunctionPackageMetadataBuilder
fn default() -> GetSolFunctionPackageMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetSolFunctionPackageMetadataBuilder
impl PartialEq for GetSolFunctionPackageMetadataBuilder
source§fn eq(&self, other: &GetSolFunctionPackageMetadataBuilder) -> bool
fn eq(&self, other: &GetSolFunctionPackageMetadataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetSolFunctionPackageMetadataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetSolFunctionPackageMetadataBuilder
impl Send for GetSolFunctionPackageMetadataBuilder
impl Sync for GetSolFunctionPackageMetadataBuilder
impl Unpin for GetSolFunctionPackageMetadataBuilder
impl UnwindSafe for GetSolFunctionPackageMetadataBuilder
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.