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 ==
.