#[non_exhaustive]pub struct DescribeTypeInputBuilder { /* private fields */ }
Expand description
A builder for DescribeTypeInput
.
Implementations§
source§impl DescribeTypeInputBuilder
impl DescribeTypeInputBuilder
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 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 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.
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.
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.
If you specify a VersionId
, DescribeType
returns information about that specific extension version. Otherwise, it returns information about the default extension version.
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.
If you specify a VersionId
, DescribeType
returns information about that specific extension version. Otherwise, it returns information about the default extension version.
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.
If you specify a VersionId
, DescribeType
returns information about that specific extension version. Otherwise, it returns information about the default extension version.
sourcepub fn publisher_id(self, input: impl Into<String>) -> Self
pub fn publisher_id(self, input: impl Into<String>) -> Self
The publisher ID of the extension publisher.
Extensions provided by Amazon Web Services are not assigned a publisher ID.
sourcepub fn set_publisher_id(self, input: Option<String>) -> Self
pub fn set_publisher_id(self, input: Option<String>) -> Self
The publisher ID of the extension publisher.
Extensions provided by Amazon Web Services are not assigned a publisher ID.
sourcepub fn get_publisher_id(&self) -> &Option<String>
pub fn get_publisher_id(&self) -> &Option<String>
The publisher ID of the extension publisher.
Extensions provided by Amazon Web Services are not assigned a publisher ID.
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 of a public third-party extension.
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 of a public third-party extension.
sourcepub fn get_public_version_number(&self) -> &Option<String>
pub fn get_public_version_number(&self) -> &Option<String>
The version number of a public third-party extension.
sourcepub fn build(self) -> Result<DescribeTypeInput, BuildError>
pub fn build(self) -> Result<DescribeTypeInput, BuildError>
Consumes the builder and constructs a DescribeTypeInput
.
source§impl DescribeTypeInputBuilder
impl DescribeTypeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeTypeOutput, SdkError<DescribeTypeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeTypeOutput, SdkError<DescribeTypeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeTypeInputBuilder
impl Clone for DescribeTypeInputBuilder
source§fn clone(&self) -> DescribeTypeInputBuilder
fn clone(&self) -> DescribeTypeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeTypeInputBuilder
impl Debug for DescribeTypeInputBuilder
source§impl Default for DescribeTypeInputBuilder
impl Default for DescribeTypeInputBuilder
source§fn default() -> DescribeTypeInputBuilder
fn default() -> DescribeTypeInputBuilder
source§impl PartialEq for DescribeTypeInputBuilder
impl PartialEq for DescribeTypeInputBuilder
source§fn eq(&self, other: &DescribeTypeInputBuilder) -> bool
fn eq(&self, other: &DescribeTypeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeTypeInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeTypeInputBuilder
impl RefUnwindSafe for DescribeTypeInputBuilder
impl Send for DescribeTypeInputBuilder
impl Sync for DescribeTypeInputBuilder
impl Unpin for DescribeTypeInputBuilder
impl UnwindSafe for DescribeTypeInputBuilder
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