#[non_exhaustive]pub struct RequiredActivatedTypeBuilder { /* private fields */ }
Expand description
A builder for RequiredActivatedType
.
Implementations§
source§impl RequiredActivatedTypeBuilder
impl RequiredActivatedTypeBuilder
sourcepub fn type_name_alias(self, input: impl Into<String>) -> Self
pub fn type_name_alias(self, input: impl Into<String>) -> Self
An alias assigned to the public extension, in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
sourcepub fn set_type_name_alias(self, input: Option<String>) -> Self
pub fn set_type_name_alias(self, input: Option<String>) -> Self
An alias assigned to the public extension, in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
sourcepub fn get_type_name_alias(&self) -> &Option<String>
pub fn get_type_name_alias(&self) -> &Option<String>
An alias assigned to the public extension, in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
sourcepub fn original_type_name(self, input: impl Into<String>) -> Self
pub fn original_type_name(self, input: impl Into<String>) -> Self
The type name of the public extension.
If you specified a TypeNameAlias
when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.
sourcepub fn set_original_type_name(self, input: Option<String>) -> Self
pub fn set_original_type_name(self, input: Option<String>) -> Self
The type name of the public extension.
If you specified a TypeNameAlias
when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.
sourcepub fn get_original_type_name(&self) -> &Option<String>
pub fn get_original_type_name(&self) -> &Option<String>
The type name of the public extension.
If you specified a TypeNameAlias
when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.
sourcepub fn publisher_id(self, input: impl Into<String>) -> Self
pub fn publisher_id(self, input: impl Into<String>) -> Self
The publisher ID of the extension publisher.
sourcepub fn set_publisher_id(self, input: Option<String>) -> Self
pub fn set_publisher_id(self, input: Option<String>) -> Self
The publisher ID of the extension publisher.
sourcepub fn get_publisher_id(&self) -> &Option<String>
pub fn get_publisher_id(&self) -> &Option<String>
The publisher ID of the extension publisher.
sourcepub fn supported_major_versions(self, input: i32) -> Self
pub fn supported_major_versions(self, input: i32) -> Self
Appends an item to supported_major_versions
.
To override the contents of this collection use set_supported_major_versions
.
A list of the major versions of the extension type that the macro supports.
sourcepub fn set_supported_major_versions(self, input: Option<Vec<i32>>) -> Self
pub fn set_supported_major_versions(self, input: Option<Vec<i32>>) -> Self
A list of the major versions of the extension type that the macro supports.
sourcepub fn get_supported_major_versions(&self) -> &Option<Vec<i32>>
pub fn get_supported_major_versions(&self) -> &Option<Vec<i32>>
A list of the major versions of the extension type that the macro supports.
sourcepub fn build(self) -> RequiredActivatedType
pub fn build(self) -> RequiredActivatedType
Consumes the builder and constructs a RequiredActivatedType
.
Trait Implementations§
source§impl Clone for RequiredActivatedTypeBuilder
impl Clone for RequiredActivatedTypeBuilder
source§fn clone(&self) -> RequiredActivatedTypeBuilder
fn clone(&self) -> RequiredActivatedTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RequiredActivatedTypeBuilder
impl Debug for RequiredActivatedTypeBuilder
source§impl Default for RequiredActivatedTypeBuilder
impl Default for RequiredActivatedTypeBuilder
source§fn default() -> RequiredActivatedTypeBuilder
fn default() -> RequiredActivatedTypeBuilder
source§impl PartialEq for RequiredActivatedTypeBuilder
impl PartialEq for RequiredActivatedTypeBuilder
source§fn eq(&self, other: &RequiredActivatedTypeBuilder) -> bool
fn eq(&self, other: &RequiredActivatedTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RequiredActivatedTypeBuilder
Auto Trait Implementations§
impl Freeze for RequiredActivatedTypeBuilder
impl RefUnwindSafe for RequiredActivatedTypeBuilder
impl Send for RequiredActivatedTypeBuilder
impl Sync for RequiredActivatedTypeBuilder
impl Unpin for RequiredActivatedTypeBuilder
impl UnwindSafe for RequiredActivatedTypeBuilder
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