#[non_exhaustive]pub struct ContainerDistributionConfigurationBuilder { /* private fields */ }
Expand description
A builder for ContainerDistributionConfiguration
.
Implementations§
source§impl ContainerDistributionConfigurationBuilder
impl ContainerDistributionConfigurationBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the container distribution configuration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the container distribution configuration.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the container distribution configuration.
Appends an item to container_tags
.
To override the contents of this collection use set_container_tags
.
Tags that are attached to the container distribution configuration.
Tags that are attached to the container distribution configuration.
Tags that are attached to the container distribution configuration.
sourcepub fn target_repository(self, input: TargetContainerRepository) -> Self
pub fn target_repository(self, input: TargetContainerRepository) -> Self
The destination repository for the container distribution configuration.
This field is required.sourcepub fn set_target_repository(
self,
input: Option<TargetContainerRepository>
) -> Self
pub fn set_target_repository( self, input: Option<TargetContainerRepository> ) -> Self
The destination repository for the container distribution configuration.
sourcepub fn get_target_repository(&self) -> &Option<TargetContainerRepository>
pub fn get_target_repository(&self) -> &Option<TargetContainerRepository>
The destination repository for the container distribution configuration.
sourcepub fn build(self) -> ContainerDistributionConfiguration
pub fn build(self) -> ContainerDistributionConfiguration
Consumes the builder and constructs a ContainerDistributionConfiguration
.
Trait Implementations§
source§impl Clone for ContainerDistributionConfigurationBuilder
impl Clone for ContainerDistributionConfigurationBuilder
source§fn clone(&self) -> ContainerDistributionConfigurationBuilder
fn clone(&self) -> ContainerDistributionConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ContainerDistributionConfigurationBuilder
impl Default for ContainerDistributionConfigurationBuilder
source§fn default() -> ContainerDistributionConfigurationBuilder
fn default() -> ContainerDistributionConfigurationBuilder
source§impl PartialEq for ContainerDistributionConfigurationBuilder
impl PartialEq for ContainerDistributionConfigurationBuilder
source§fn eq(&self, other: &ContainerDistributionConfigurationBuilder) -> bool
fn eq(&self, other: &ContainerDistributionConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerDistributionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ContainerDistributionConfigurationBuilder
impl RefUnwindSafe for ContainerDistributionConfigurationBuilder
impl Send for ContainerDistributionConfigurationBuilder
impl Sync for ContainerDistributionConfigurationBuilder
impl Unpin for ContainerDistributionConfigurationBuilder
impl UnwindSafe for ContainerDistributionConfigurationBuilder
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