#[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 ==
.