Struct aws_sdk_cloudformation::operation::list_type_versions::builders::ListTypeVersionsInputBuilder
source · #[non_exhaustive]pub struct ListTypeVersionsInputBuilder { /* private fields */ }
Expand description
A builder for ListTypeVersionsInput
.
Implementations§
source§impl ListTypeVersionsInputBuilder
impl ListTypeVersionsInputBuilder
sourcepub fn type(self, input: RegistryType) -> Self
pub fn type(self, input: RegistryType) -> Self
The kind of the 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 the 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 the 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 for which you want version summary information.
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 for which you want version summary information.
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 for which you want version summary information.
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 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 max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken
value that you can assign to the NextToken
request parameter to get the next set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken
value that you can assign to the NextToken
request parameter to get the next set of results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken
value that you can assign to the NextToken
request parameter to get the next set of results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous paginated request didn't return all of the remaining results, the response object's NextToken
parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous paginated request didn't return all of the remaining results, the response object's NextToken
parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous paginated request didn't return all of the remaining results, the response object's NextToken
parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
sourcepub fn deprecated_status(self, input: DeprecatedStatus) -> Self
pub fn deprecated_status(self, input: DeprecatedStatus) -> Self
The deprecation status of the extension versions that you want to get summary information about.
Valid values include:
-
LIVE
: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope. -
DEPRECATED
: The extension version has been deregistered and can no longer be used in CloudFormation operations.
The default is LIVE
.
sourcepub fn set_deprecated_status(self, input: Option<DeprecatedStatus>) -> Self
pub fn set_deprecated_status(self, input: Option<DeprecatedStatus>) -> Self
The deprecation status of the extension versions that you want to get summary information about.
Valid values include:
-
LIVE
: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope. -
DEPRECATED
: The extension version has been deregistered and can no longer be used in CloudFormation operations.
The default is LIVE
.
sourcepub fn get_deprecated_status(&self) -> &Option<DeprecatedStatus>
pub fn get_deprecated_status(&self) -> &Option<DeprecatedStatus>
The deprecation status of the extension versions that you want to get summary information about.
Valid values include:
-
LIVE
: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope. -
DEPRECATED
: The extension version has been deregistered and can no longer be used in CloudFormation operations.
The default is LIVE
.
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 published by Amazon aren't 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 published by Amazon aren't 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 published by Amazon aren't assigned a publisher ID.
sourcepub fn build(self) -> Result<ListTypeVersionsInput, BuildError>
pub fn build(self) -> Result<ListTypeVersionsInput, BuildError>
Consumes the builder and constructs a ListTypeVersionsInput
.
source§impl ListTypeVersionsInputBuilder
impl ListTypeVersionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTypeVersionsOutput, SdkError<ListTypeVersionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTypeVersionsOutput, SdkError<ListTypeVersionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTypeVersionsInputBuilder
impl Clone for ListTypeVersionsInputBuilder
source§fn clone(&self) -> ListTypeVersionsInputBuilder
fn clone(&self) -> ListTypeVersionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTypeVersionsInputBuilder
impl Debug for ListTypeVersionsInputBuilder
source§impl Default for ListTypeVersionsInputBuilder
impl Default for ListTypeVersionsInputBuilder
source§fn default() -> ListTypeVersionsInputBuilder
fn default() -> ListTypeVersionsInputBuilder
source§impl PartialEq for ListTypeVersionsInputBuilder
impl PartialEq for ListTypeVersionsInputBuilder
source§fn eq(&self, other: &ListTypeVersionsInputBuilder) -> bool
fn eq(&self, other: &ListTypeVersionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTypeVersionsInputBuilder
Auto Trait Implementations§
impl Freeze for ListTypeVersionsInputBuilder
impl RefUnwindSafe for ListTypeVersionsInputBuilder
impl Send for ListTypeVersionsInputBuilder
impl Sync for ListTypeVersionsInputBuilder
impl Unpin for ListTypeVersionsInputBuilder
impl UnwindSafe for ListTypeVersionsInputBuilder
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