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 ==
.impl StructuralPartialEq for DeactivateTypeInputBuilder
Auto Trait Implementations§
impl Freeze for DeactivateTypeInputBuilder
impl RefUnwindSafe for DeactivateTypeInputBuilder
impl Send for DeactivateTypeInputBuilder
impl Sync for DeactivateTypeInputBuilder
impl Unpin for DeactivateTypeInputBuilder
impl UnwindSafe for DeactivateTypeInputBuilder
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