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<CreateConfigurationOutputBuilder> for CreateConfigurationOutputBuilder
impl PartialEq<CreateConfigurationOutputBuilder> 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 ==
.