#[non_exhaustive]pub struct PackageGroupDescriptionBuilder { /* private fields */ }
Expand description
A builder for PackageGroupDescription
.
Implementations§
source§impl PackageGroupDescriptionBuilder
impl PackageGroupDescriptionBuilder
sourcepub fn pattern(self, input: impl Into<String>) -> Self
pub fn pattern(self, input: impl Into<String>) -> Self
The pattern of the package group. The pattern determines which packages are associated with the package group.
sourcepub fn set_pattern(self, input: Option<String>) -> Self
pub fn set_pattern(self, input: Option<String>) -> Self
The pattern of the package group. The pattern determines which packages are associated with the package group.
sourcepub fn get_pattern(&self) -> &Option<String>
pub fn get_pattern(&self) -> &Option<String>
The pattern of the package group. The pattern determines which packages are associated with the package group.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain that contains the package group.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain that contains the package group.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain that contains the package group.
sourcepub fn domain_owner(self, input: impl Into<String>) -> Self
pub fn domain_owner(self, input: impl Into<String>) -> Self
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn set_domain_owner(self, input: Option<String>) -> Self
pub fn set_domain_owner(self, input: Option<String>) -> Self
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn get_domain_owner(&self) -> &Option<String>
pub fn get_domain_owner(&self) -> &Option<String>
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
A timestamp that represents the date and time the package group was created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
A timestamp that represents the date and time the package group was created.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
A timestamp that represents the date and time the package group was created.
sourcepub fn contact_info(self, input: impl Into<String>) -> Self
pub fn contact_info(self, input: impl Into<String>) -> Self
The contact information of the package group.
sourcepub fn set_contact_info(self, input: Option<String>) -> Self
pub fn set_contact_info(self, input: Option<String>) -> Self
The contact information of the package group.
sourcepub fn get_contact_info(&self) -> &Option<String>
pub fn get_contact_info(&self) -> &Option<String>
The contact information of the package group.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the package group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the package group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the package group.
sourcepub fn origin_configuration(
self,
input: PackageGroupOriginConfiguration,
) -> Self
pub fn origin_configuration( self, input: PackageGroupOriginConfiguration, ) -> Self
The package group origin configuration that determines how package versions can enter repositories.
sourcepub fn set_origin_configuration(
self,
input: Option<PackageGroupOriginConfiguration>,
) -> Self
pub fn set_origin_configuration( self, input: Option<PackageGroupOriginConfiguration>, ) -> Self
The package group origin configuration that determines how package versions can enter repositories.
sourcepub fn get_origin_configuration(
&self,
) -> &Option<PackageGroupOriginConfiguration>
pub fn get_origin_configuration( &self, ) -> &Option<PackageGroupOriginConfiguration>
The package group origin configuration that determines how package versions can enter repositories.
sourcepub fn parent(self, input: PackageGroupReference) -> Self
pub fn parent(self, input: PackageGroupReference) -> Self
The direct parent package group of the package group.
sourcepub fn set_parent(self, input: Option<PackageGroupReference>) -> Self
pub fn set_parent(self, input: Option<PackageGroupReference>) -> Self
The direct parent package group of the package group.
sourcepub fn get_parent(&self) -> &Option<PackageGroupReference>
pub fn get_parent(&self) -> &Option<PackageGroupReference>
The direct parent package group of the package group.
sourcepub fn build(self) -> PackageGroupDescription
pub fn build(self) -> PackageGroupDescription
Consumes the builder and constructs a PackageGroupDescription
.
Trait Implementations§
source§impl Clone for PackageGroupDescriptionBuilder
impl Clone for PackageGroupDescriptionBuilder
source§fn clone(&self) -> PackageGroupDescriptionBuilder
fn clone(&self) -> PackageGroupDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PackageGroupDescriptionBuilder
impl Default for PackageGroupDescriptionBuilder
source§fn default() -> PackageGroupDescriptionBuilder
fn default() -> PackageGroupDescriptionBuilder
source§impl PartialEq for PackageGroupDescriptionBuilder
impl PartialEq for PackageGroupDescriptionBuilder
source§fn eq(&self, other: &PackageGroupDescriptionBuilder) -> bool
fn eq(&self, other: &PackageGroupDescriptionBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PackageGroupDescriptionBuilder
Auto Trait Implementations§
impl Freeze for PackageGroupDescriptionBuilder
impl RefUnwindSafe for PackageGroupDescriptionBuilder
impl Send for PackageGroupDescriptionBuilder
impl Sync for PackageGroupDescriptionBuilder
impl Unpin for PackageGroupDescriptionBuilder
impl UnwindSafe for PackageGroupDescriptionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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