#[non_exhaustive]pub struct ProvisioningArtifactBuilder { /* private fields */ }
Expand description
A builder for ProvisioningArtifact
.
Implementations§
source§impl ProvisioningArtifactBuilder
impl ProvisioningArtifactBuilder
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the provisioning artifact.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the provisioning artifact.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the provisioning artifact.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the provisioning artifact.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The UTC time stamp of the creation time.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The UTC time stamp of the creation time.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
The UTC time stamp of the creation time.
sourcepub fn guidance(self, input: ProvisioningArtifactGuidance) -> Self
pub fn guidance(self, input: ProvisioningArtifactGuidance) -> Self
Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.
sourcepub fn set_guidance(self, input: Option<ProvisioningArtifactGuidance>) -> Self
pub fn set_guidance(self, input: Option<ProvisioningArtifactGuidance>) -> Self
Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.
sourcepub fn get_guidance(&self) -> &Option<ProvisioningArtifactGuidance>
pub fn get_guidance(&self) -> &Option<ProvisioningArtifactGuidance>
Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.
sourcepub fn build(self) -> ProvisioningArtifact
pub fn build(self) -> ProvisioningArtifact
Consumes the builder and constructs a ProvisioningArtifact
.
Trait Implementations§
source§impl Clone for ProvisioningArtifactBuilder
impl Clone for ProvisioningArtifactBuilder
source§fn clone(&self) -> ProvisioningArtifactBuilder
fn clone(&self) -> ProvisioningArtifactBuilder
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 Debug for ProvisioningArtifactBuilder
impl Debug for ProvisioningArtifactBuilder
source§impl Default for ProvisioningArtifactBuilder
impl Default for ProvisioningArtifactBuilder
source§fn default() -> ProvisioningArtifactBuilder
fn default() -> ProvisioningArtifactBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ProvisioningArtifactBuilder
impl PartialEq for ProvisioningArtifactBuilder
source§fn eq(&self, other: &ProvisioningArtifactBuilder) -> bool
fn eq(&self, other: &ProvisioningArtifactBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProvisioningArtifactBuilder
Auto Trait Implementations§
impl Freeze for ProvisioningArtifactBuilder
impl RefUnwindSafe for ProvisioningArtifactBuilder
impl Send for ProvisioningArtifactBuilder
impl Sync for ProvisioningArtifactBuilder
impl Unpin for ProvisioningArtifactBuilder
impl UnwindSafe for ProvisioningArtifactBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.