#[non_exhaustive]pub struct PublishTypeInputBuilder { /* private fields */ }
Expand description
A builder for PublishTypeInput
.
Implementations§
source§impl PublishTypeInputBuilder
impl PublishTypeInputBuilder
sourcepub fn type(self, input: ThirdPartyType) -> Self
pub fn type(self, input: ThirdPartyType) -> Self
The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
sourcepub fn set_type(self, input: Option<ThirdPartyType>) -> Self
pub fn set_type(self, input: Option<ThirdPartyType>) -> Self
The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
sourcepub fn get_type(&self) -> &Option<ThirdPartyType>
pub fn get_type(&self) -> &Option<ThirdPartyType>
The type of the extension.
Conditional: You must specify 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) of the extension.
Conditional: You must specify 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) of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
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 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 name of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
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 Arn
, or TypeName
and Type
.
sourcepub fn public_version_number(self, input: impl Into<String>) -> Self
pub fn public_version_number(self, input: impl Into<String>) -> Self
The version number to assign to this version of the extension.
Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCH
For more information, see Semantic Versioning 2.0.0.
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be 1.0.0
.
sourcepub fn set_public_version_number(self, input: Option<String>) -> Self
pub fn set_public_version_number(self, input: Option<String>) -> Self
The version number to assign to this version of the extension.
Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCH
For more information, see Semantic Versioning 2.0.0.
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be 1.0.0
.
sourcepub fn get_public_version_number(&self) -> &Option<String>
pub fn get_public_version_number(&self) -> &Option<String>
The version number to assign to this version of the extension.
Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCH
For more information, see Semantic Versioning 2.0.0.
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be 1.0.0
.
sourcepub fn build(self) -> Result<PublishTypeInput, BuildError>
pub fn build(self) -> Result<PublishTypeInput, BuildError>
Consumes the builder and constructs a PublishTypeInput
.
source§impl PublishTypeInputBuilder
impl PublishTypeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PublishTypeOutput, SdkError<PublishTypeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PublishTypeOutput, SdkError<PublishTypeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PublishTypeInputBuilder
impl Clone for PublishTypeInputBuilder
source§fn clone(&self) -> PublishTypeInputBuilder
fn clone(&self) -> PublishTypeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PublishTypeInputBuilder
impl Debug for PublishTypeInputBuilder
source§impl Default for PublishTypeInputBuilder
impl Default for PublishTypeInputBuilder
source§fn default() -> PublishTypeInputBuilder
fn default() -> PublishTypeInputBuilder
source§impl PartialEq for PublishTypeInputBuilder
impl PartialEq for PublishTypeInputBuilder
source§fn eq(&self, other: &PublishTypeInputBuilder) -> bool
fn eq(&self, other: &PublishTypeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.