#[non_exhaustive]pub struct WarningPropertyBuilder { /* private fields */ }
Expand description
A builder for WarningProperty
.
Implementations§
source§impl WarningPropertyBuilder
impl WarningPropertyBuilder
sourcepub fn property_path(self, input: impl Into<String>) -> Self
pub fn property_path(self, input: impl Into<String>) -> Self
The path of the property. For example, if this is for the S3Bucket
member of the Code
property, the property path would be Code/S3Bucket
.
sourcepub fn set_property_path(self, input: Option<String>) -> Self
pub fn set_property_path(self, input: Option<String>) -> Self
The path of the property. For example, if this is for the S3Bucket
member of the Code
property, the property path would be Code/S3Bucket
.
sourcepub fn get_property_path(&self) -> &Option<String>
pub fn get_property_path(&self) -> &Option<String>
The path of the property. For example, if this is for the S3Bucket
member of the Code
property, the property path would be Code/S3Bucket
.
sourcepub fn set_required(self, input: Option<bool>) -> Self
pub fn set_required(self, input: Option<bool>) -> Self
If true
, the specified property is required.
sourcepub fn get_required(&self) -> &Option<bool>
pub fn get_required(&self) -> &Option<bool>
If true
, the specified property is required.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the property from the resource provider schema.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the property from the resource provider schema.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the property from the resource provider schema.
sourcepub fn build(self) -> WarningProperty
pub fn build(self) -> WarningProperty
Consumes the builder and constructs a WarningProperty
.
Trait Implementations§
source§impl Clone for WarningPropertyBuilder
impl Clone for WarningPropertyBuilder
source§fn clone(&self) -> WarningPropertyBuilder
fn clone(&self) -> WarningPropertyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WarningPropertyBuilder
impl Debug for WarningPropertyBuilder
source§impl Default for WarningPropertyBuilder
impl Default for WarningPropertyBuilder
source§fn default() -> WarningPropertyBuilder
fn default() -> WarningPropertyBuilder
source§impl PartialEq for WarningPropertyBuilder
impl PartialEq for WarningPropertyBuilder
source§fn eq(&self, other: &WarningPropertyBuilder) -> bool
fn eq(&self, other: &WarningPropertyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WarningPropertyBuilder
Auto Trait Implementations§
impl Freeze for WarningPropertyBuilder
impl RefUnwindSafe for WarningPropertyBuilder
impl Send for WarningPropertyBuilder
impl Sync for WarningPropertyBuilder
impl Unpin for WarningPropertyBuilder
impl UnwindSafe for WarningPropertyBuilder
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