Struct aws_sdk_cloudformation::operation::deactivate_type::builders::DeactivateTypeInputBuilder
source · #[non_exhaustive]pub struct DeactivateTypeInputBuilder { /* private fields */ }
Expand description
A builder for DeactivateTypeInput
.
Implementations§
source§impl DeactivateTypeInputBuilder
impl DeactivateTypeInputBuilder
sourcepub fn type_name(self, input: impl Into<String>) -> Self
pub fn type_name(self, input: impl Into<String>) -> Self
The type name of the extension, in this account and Region. If you specified a type name alias when enabling the extension, use the type name alias.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn set_type_name(self, input: Option<String>) -> Self
pub fn set_type_name(self, input: Option<String>) -> Self
The type name of the extension, in this account and Region. If you specified a type name alias when enabling the extension, use the type name alias.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn get_type_name(&self) -> &Option<String>
pub fn get_type_name(&self) -> &Option<String>
The type name of the extension, in this account and Region. If you specified a type name alias when enabling the extension, use the type name alias.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn type(self, input: ThirdPartyType) -> Self
pub fn type(self, input: ThirdPartyType) -> Self
The extension type.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn set_type(self, input: Option<ThirdPartyType>) -> Self
pub fn set_type(self, input: Option<ThirdPartyType>) -> Self
The extension type.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn get_type(&self) -> &Option<ThirdPartyType>
pub fn get_type(&self) -> &Option<ThirdPartyType>
The extension type.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the extension, in this account and Region.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the extension, in this account and Region.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the extension, in this account and Region.
Conditional: You must specify either Arn
, or TypeName
and Type
.
sourcepub fn build(self) -> Result<DeactivateTypeInput, BuildError>
pub fn build(self) -> Result<DeactivateTypeInput, BuildError>
Consumes the builder and constructs a DeactivateTypeInput
.
source§impl DeactivateTypeInputBuilder
impl DeactivateTypeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeactivateTypeOutput, SdkError<DeactivateTypeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeactivateTypeOutput, SdkError<DeactivateTypeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeactivateTypeInputBuilder
impl Clone for DeactivateTypeInputBuilder
source§fn clone(&self) -> DeactivateTypeInputBuilder
fn clone(&self) -> DeactivateTypeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeactivateTypeInputBuilder
impl Debug for DeactivateTypeInputBuilder
source§impl Default for DeactivateTypeInputBuilder
impl Default for DeactivateTypeInputBuilder
source§fn default() -> DeactivateTypeInputBuilder
fn default() -> DeactivateTypeInputBuilder
source§impl PartialEq for DeactivateTypeInputBuilder
impl PartialEq for DeactivateTypeInputBuilder
source§fn eq(&self, other: &DeactivateTypeInputBuilder) -> bool
fn eq(&self, other: &DeactivateTypeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.