Struct aws_sdk_cloudformation::operation::describe_type::builders::DescribeTypeFluentBuilder
source · pub struct DescribeTypeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeType
.
Returns detailed information about an extension that has been registered.
If you specify a VersionId
, DescribeType
returns information about that specific extension version. Otherwise, it returns information about the default extension version.
Implementations§
source§impl DescribeTypeFluentBuilder
impl DescribeTypeFluentBuilder
sourcepub fn as_input(&self) -> &DescribeTypeInputBuilder
pub fn as_input(&self) -> &DescribeTypeInputBuilder
Access the DescribeType as a reference.
sourcepub async fn send(
self
) -> Result<DescribeTypeOutput, SdkError<DescribeTypeError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeTypeOutput, SdkError<DescribeTypeError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeTypeOutput, DescribeTypeError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeTypeOutput, DescribeTypeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for DescribeTypeFluentBuilder
impl Clone for DescribeTypeFluentBuilder
source§fn clone(&self) -> DescribeTypeFluentBuilder
fn clone(&self) -> DescribeTypeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeTypeFluentBuilder
impl !RefUnwindSafe for DescribeTypeFluentBuilder
impl Send for DescribeTypeFluentBuilder
impl Sync for DescribeTypeFluentBuilder
impl Unpin for DescribeTypeFluentBuilder
impl !UnwindSafe for DescribeTypeFluentBuilder
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