Struct aws_sdk_mq::operation::update_configuration::builders::UpdateConfigurationOutputBuilder
source · #[non_exhaustive]pub struct UpdateConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateConfigurationOutput
.
Implementations§
source§impl UpdateConfigurationOutputBuilder
impl UpdateConfigurationOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the configuration.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the configuration.
sourcepub fn created(self, input: DateTime) -> Self
pub fn created(self, input: DateTime) -> Self
Required. The date and time of the configuration.
sourcepub fn set_created(self, input: Option<DateTime>) -> Self
pub fn set_created(self, input: Option<DateTime>) -> Self
Required. The date and time of the configuration.
sourcepub fn get_created(&self) -> &Option<DateTime>
pub fn get_created(&self) -> &Option<DateTime>
Required. The date and time of the configuration.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique ID that Amazon MQ generates for the configuration.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique ID that Amazon MQ generates for the configuration.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The unique ID that Amazon MQ generates for the configuration.
sourcepub fn latest_revision(self, input: ConfigurationRevision) -> Self
pub fn latest_revision(self, input: ConfigurationRevision) -> Self
The latest revision of the configuration.
sourcepub fn set_latest_revision(self, input: Option<ConfigurationRevision>) -> Self
pub fn set_latest_revision(self, input: Option<ConfigurationRevision>) -> Self
The latest revision of the configuration.
sourcepub fn get_latest_revision(&self) -> &Option<ConfigurationRevision>
pub fn get_latest_revision(&self) -> &Option<ConfigurationRevision>
The latest revision of the configuration.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
sourcepub fn warnings(self, input: SanitizationWarning) -> Self
pub fn warnings(self, input: SanitizationWarning) -> Self
Appends an item to warnings
.
To override the contents of this collection use set_warnings
.
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
sourcepub fn set_warnings(self, input: Option<Vec<SanitizationWarning>>) -> Self
pub fn set_warnings(self, input: Option<Vec<SanitizationWarning>>) -> Self
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
sourcepub fn get_warnings(&self) -> &Option<Vec<SanitizationWarning>>
pub fn get_warnings(&self) -> &Option<Vec<SanitizationWarning>>
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
sourcepub fn build(self) -> UpdateConfigurationOutput
pub fn build(self) -> UpdateConfigurationOutput
Consumes the builder and constructs a UpdateConfigurationOutput
.
Trait Implementations§
source§impl Clone for UpdateConfigurationOutputBuilder
impl Clone for UpdateConfigurationOutputBuilder
source§fn clone(&self) -> UpdateConfigurationOutputBuilder
fn clone(&self) -> UpdateConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateConfigurationOutputBuilder
impl Default for UpdateConfigurationOutputBuilder
source§fn default() -> UpdateConfigurationOutputBuilder
fn default() -> UpdateConfigurationOutputBuilder
source§impl PartialEq for UpdateConfigurationOutputBuilder
impl PartialEq for UpdateConfigurationOutputBuilder
source§fn eq(&self, other: &UpdateConfigurationOutputBuilder) -> bool
fn eq(&self, other: &UpdateConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateConfigurationOutputBuilder
impl RefUnwindSafe for UpdateConfigurationOutputBuilder
impl Send for UpdateConfigurationOutputBuilder
impl Sync for UpdateConfigurationOutputBuilder
impl Unpin for UpdateConfigurationOutputBuilder
impl UnwindSafe for UpdateConfigurationOutputBuilder
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