Struct aws_sdk_cloudformation::operation::set_type_default_version::builders::SetTypeDefaultVersionInputBuilder
source · #[non_exhaustive]pub struct SetTypeDefaultVersionInputBuilder { /* private fields */ }
Expand description
A builder for SetTypeDefaultVersionInput
.
Implementations§
source§impl SetTypeDefaultVersionInputBuilder
impl SetTypeDefaultVersionInputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the extension for which you want version summary information.
Conditional: You must specify either TypeName
and Type
, or Arn
.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the extension for which you want version summary information.
Conditional: You must specify either TypeName
and Type
, or Arn
.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the extension for which you want version summary information.
Conditional: You must specify either TypeName
and Type
, or Arn
.
sourcepub fn type(self, input: RegistryType) -> Self
pub fn type(self, input: RegistryType) -> Self
The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
sourcepub fn set_type(self, input: Option<RegistryType>) -> Self
pub fn set_type(self, input: Option<RegistryType>) -> Self
The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
sourcepub fn get_type(&self) -> &Option<RegistryType>
pub fn get_type(&self) -> &Option<RegistryType>
The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
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 either TypeName
and Type
, or Arn
.
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 either TypeName
and Type
, or Arn
.
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 either TypeName
and Type
, or Arn
.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.
sourcepub fn build(self) -> Result<SetTypeDefaultVersionInput, BuildError>
pub fn build(self) -> Result<SetTypeDefaultVersionInput, BuildError>
Consumes the builder and constructs a SetTypeDefaultVersionInput
.
source§impl SetTypeDefaultVersionInputBuilder
impl SetTypeDefaultVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SetTypeDefaultVersionOutput, SdkError<SetTypeDefaultVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SetTypeDefaultVersionOutput, SdkError<SetTypeDefaultVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SetTypeDefaultVersionInputBuilder
impl Clone for SetTypeDefaultVersionInputBuilder
source§fn clone(&self) -> SetTypeDefaultVersionInputBuilder
fn clone(&self) -> SetTypeDefaultVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SetTypeDefaultVersionInputBuilder
impl Default for SetTypeDefaultVersionInputBuilder
source§fn default() -> SetTypeDefaultVersionInputBuilder
fn default() -> SetTypeDefaultVersionInputBuilder
source§impl PartialEq for SetTypeDefaultVersionInputBuilder
impl PartialEq for SetTypeDefaultVersionInputBuilder
source§fn eq(&self, other: &SetTypeDefaultVersionInputBuilder) -> bool
fn eq(&self, other: &SetTypeDefaultVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetTypeDefaultVersionInputBuilder
Auto Trait Implementations§
impl Freeze for SetTypeDefaultVersionInputBuilder
impl RefUnwindSafe for SetTypeDefaultVersionInputBuilder
impl Send for SetTypeDefaultVersionInputBuilder
impl Sync for SetTypeDefaultVersionInputBuilder
impl Unpin for SetTypeDefaultVersionInputBuilder
impl UnwindSafe for SetTypeDefaultVersionInputBuilder
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