Struct aws_sdk_cloudformation::operation::set_type_configuration::builders::SetTypeConfigurationInputBuilder
source · #[non_exhaustive]pub struct SetTypeConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for SetTypeConfigurationInput
.
Implementations§
source§impl SetTypeConfigurationInputBuilder
impl SetTypeConfigurationInputBuilder
sourcepub fn type_arn(self, input: impl Into<String>) -> Self
pub fn type_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the extension, in this account and Region.
For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region.
Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.
sourcepub fn set_type_arn(self, input: Option<String>) -> Self
pub fn set_type_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the extension, in this account and Region.
For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region.
Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.
sourcepub fn get_type_arn(&self) -> &Option<String>
pub fn get_type_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the extension, in this account and Region.
For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region.
Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.
sourcepub fn configuration(self, input: impl Into<String>) -> Self
pub fn configuration(self, input: impl Into<String>) -> Self
The configuration data for the extension, in this account and Region.
The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema
response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.
sourcepub fn set_configuration(self, input: Option<String>) -> Self
pub fn set_configuration(self, input: Option<String>) -> Self
The configuration data for the extension, in this account and Region.
The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema
response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.
sourcepub fn get_configuration(&self) -> &Option<String>
pub fn get_configuration(&self) -> &Option<String>
The configuration data for the extension, in this account and Region.
The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema
response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.
sourcepub fn configuration_alias(self, input: impl Into<String>) -> Self
pub fn configuration_alias(self, input: impl Into<String>) -> Self
An alias by which to refer to this extension configuration data.
Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.
sourcepub fn set_configuration_alias(self, input: Option<String>) -> Self
pub fn set_configuration_alias(self, input: Option<String>) -> Self
An alias by which to refer to this extension configuration data.
Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.
sourcepub fn get_configuration_alias(&self) -> &Option<String>
pub fn get_configuration_alias(&self) -> &Option<String>
An alias by which to refer to this extension configuration data.
Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.
sourcepub fn type_name(self, input: impl Into<String>) -> Self
pub fn type_name(self, input: impl Into<String>) -> Self
The name of the extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn set_type_name(self, input: Option<String>) -> Self
pub fn set_type_name(self, input: Option<String>) -> Self
The name of the extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn get_type_name(&self) -> &Option<String>
pub fn get_type_name(&self) -> &Option<String>
The name of the extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn type(self, input: ThirdPartyType) -> Self
pub fn type(self, input: ThirdPartyType) -> Self
The type of extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn set_type(self, input: Option<ThirdPartyType>) -> Self
pub fn set_type(self, input: Option<ThirdPartyType>) -> Self
The type of extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn get_type(&self) -> &Option<ThirdPartyType>
pub fn get_type(&self) -> &Option<ThirdPartyType>
The type of extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn build(self) -> Result<SetTypeConfigurationInput, BuildError>
pub fn build(self) -> Result<SetTypeConfigurationInput, BuildError>
Consumes the builder and constructs a SetTypeConfigurationInput
.
source§impl SetTypeConfigurationInputBuilder
impl SetTypeConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SetTypeConfigurationOutput, SdkError<SetTypeConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SetTypeConfigurationOutput, SdkError<SetTypeConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SetTypeConfigurationInputBuilder
impl Clone for SetTypeConfigurationInputBuilder
source§fn clone(&self) -> SetTypeConfigurationInputBuilder
fn clone(&self) -> SetTypeConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SetTypeConfigurationInputBuilder
impl Default for SetTypeConfigurationInputBuilder
source§fn default() -> SetTypeConfigurationInputBuilder
fn default() -> SetTypeConfigurationInputBuilder
source§impl PartialEq for SetTypeConfigurationInputBuilder
impl PartialEq for SetTypeConfigurationInputBuilder
source§fn eq(&self, other: &SetTypeConfigurationInputBuilder) -> bool
fn eq(&self, other: &SetTypeConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetTypeConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for SetTypeConfigurationInputBuilder
impl RefUnwindSafe for SetTypeConfigurationInputBuilder
impl Send for SetTypeConfigurationInputBuilder
impl Sync for SetTypeConfigurationInputBuilder
impl Unpin for SetTypeConfigurationInputBuilder
impl UnwindSafe for SetTypeConfigurationInputBuilder
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