Struct aws_sdk_mq::operation::create_configuration::builders::CreateConfigurationOutputBuilder
source · #[non_exhaustive]pub struct CreateConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for CreateConfigurationOutput
.
Implementations§
source§impl CreateConfigurationOutputBuilder
impl CreateConfigurationOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
Required. 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
Required. The Amazon Resource Name (ARN) of the configuration.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
Required. The Amazon Resource Name (ARN) of the configuration.
sourcepub fn authentication_strategy(self, input: AuthenticationStrategy) -> Self
pub fn authentication_strategy(self, input: AuthenticationStrategy) -> Self
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
sourcepub fn set_authentication_strategy(
self,
input: Option<AuthenticationStrategy>
) -> Self
pub fn set_authentication_strategy( self, input: Option<AuthenticationStrategy> ) -> Self
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
sourcepub fn get_authentication_strategy(&self) -> &Option<AuthenticationStrategy>
pub fn get_authentication_strategy(&self) -> &Option<AuthenticationStrategy>
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
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
Required. 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
Required. The unique ID that Amazon MQ generates for the configuration.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
Required. 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
Required. 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
Required. 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>
Required. 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 build(self) -> CreateConfigurationOutput
pub fn build(self) -> CreateConfigurationOutput
Consumes the builder and constructs a CreateConfigurationOutput
.
Trait Implementations§
source§impl Clone for CreateConfigurationOutputBuilder
impl Clone for CreateConfigurationOutputBuilder
source§fn clone(&self) -> CreateConfigurationOutputBuilder
fn clone(&self) -> CreateConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateConfigurationOutputBuilder
impl Default for CreateConfigurationOutputBuilder
source§fn default() -> CreateConfigurationOutputBuilder
fn default() -> CreateConfigurationOutputBuilder
source§impl PartialEq for CreateConfigurationOutputBuilder
impl PartialEq for CreateConfigurationOutputBuilder
source§fn eq(&self, other: &CreateConfigurationOutputBuilder) -> bool
fn eq(&self, other: &CreateConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateConfigurationOutputBuilder
impl RefUnwindSafe for CreateConfigurationOutputBuilder
impl Send for CreateConfigurationOutputBuilder
impl Sync for CreateConfigurationOutputBuilder
impl Unpin for CreateConfigurationOutputBuilder
impl UnwindSafe for CreateConfigurationOutputBuilder
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