#[non_exhaustive]pub struct ComponentLatestVersionBuilder { /* private fields */ }
Expand description
A builder for ComponentLatestVersion
.
Implementations§
source§impl ComponentLatestVersionBuilder
impl ComponentLatestVersionBuilder
sourcepub fn component_version(self, input: impl Into<String>) -> Self
pub fn component_version(self, input: impl Into<String>) -> Self
The version of the component.
sourcepub fn set_component_version(self, input: Option<String>) -> Self
pub fn set_component_version(self, input: Option<String>) -> Self
The version of the component.
sourcepub fn get_component_version(&self) -> &Option<String>
pub fn get_component_version(&self) -> &Option<String>
The version of the component.
sourcepub fn creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The time at which the component was created, expressed in ISO 8601 format.
sourcepub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
The time at which the component was created, expressed in ISO 8601 format.
sourcepub fn get_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_creation_timestamp(&self) -> &Option<DateTime>
The time at which the component was created, expressed in ISO 8601 format.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the component version.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the component version.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the component version.
sourcepub fn publisher(self, input: impl Into<String>) -> Self
pub fn publisher(self, input: impl Into<String>) -> Self
The publisher of the component version.
sourcepub fn set_publisher(self, input: Option<String>) -> Self
pub fn set_publisher(self, input: Option<String>) -> Self
The publisher of the component version.
sourcepub fn get_publisher(&self) -> &Option<String>
pub fn get_publisher(&self) -> &Option<String>
The publisher of the component version.
sourcepub fn platforms(self, input: ComponentPlatform) -> Self
pub fn platforms(self, input: ComponentPlatform) -> Self
Appends an item to platforms
.
To override the contents of this collection use set_platforms
.
The platforms that the component version supports.
sourcepub fn set_platforms(self, input: Option<Vec<ComponentPlatform>>) -> Self
pub fn set_platforms(self, input: Option<Vec<ComponentPlatform>>) -> Self
The platforms that the component version supports.
sourcepub fn get_platforms(&self) -> &Option<Vec<ComponentPlatform>>
pub fn get_platforms(&self) -> &Option<Vec<ComponentPlatform>>
The platforms that the component version supports.
sourcepub fn build(self) -> ComponentLatestVersion
pub fn build(self) -> ComponentLatestVersion
Consumes the builder and constructs a ComponentLatestVersion
.
Trait Implementations§
source§impl Clone for ComponentLatestVersionBuilder
impl Clone for ComponentLatestVersionBuilder
source§fn clone(&self) -> ComponentLatestVersionBuilder
fn clone(&self) -> ComponentLatestVersionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ComponentLatestVersionBuilder
impl Default for ComponentLatestVersionBuilder
source§fn default() -> ComponentLatestVersionBuilder
fn default() -> ComponentLatestVersionBuilder
source§impl PartialEq for ComponentLatestVersionBuilder
impl PartialEq for ComponentLatestVersionBuilder
source§fn eq(&self, other: &ComponentLatestVersionBuilder) -> bool
fn eq(&self, other: &ComponentLatestVersionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComponentLatestVersionBuilder
Auto Trait Implementations§
impl Freeze for ComponentLatestVersionBuilder
impl RefUnwindSafe for ComponentLatestVersionBuilder
impl Send for ComponentLatestVersionBuilder
impl Sync for ComponentLatestVersionBuilder
impl Unpin for ComponentLatestVersionBuilder
impl UnwindSafe for ComponentLatestVersionBuilder
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
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>
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>
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 more