Struct aws_sdk_cloudformation::operation::list_type_registrations::builders::ListTypeRegistrationsInputBuilder
source · #[non_exhaustive]pub struct ListTypeRegistrationsInputBuilder { /* private fields */ }
Expand description
A builder for ListTypeRegistrationsInput
.
Implementations§
source§impl ListTypeRegistrationsInputBuilder
impl ListTypeRegistrationsInputBuilder
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 type_arn(self, input: impl Into<String>) -> Self
pub fn type_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_type_arn(self, input: Option<String>) -> Self
pub fn set_type_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_type_arn(&self) -> &Option<String>
pub fn get_type_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
sourcepub fn registration_status_filter(self, input: RegistrationStatus) -> Self
pub fn registration_status_filter(self, input: RegistrationStatus) -> Self
The current status of the extension registration request.
The default is IN_PROGRESS
.
sourcepub fn set_registration_status_filter(
self,
input: Option<RegistrationStatus>
) -> Self
pub fn set_registration_status_filter( self, input: Option<RegistrationStatus> ) -> Self
The current status of the extension registration request.
The default is IN_PROGRESS
.
sourcepub fn get_registration_status_filter(&self) -> &Option<RegistrationStatus>
pub fn get_registration_status_filter(&self) -> &Option<RegistrationStatus>
The current status of the extension registration request.
The default is IN_PROGRESS
.
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 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 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 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 build(self) -> Result<ListTypeRegistrationsInput, BuildError>
pub fn build(self) -> Result<ListTypeRegistrationsInput, BuildError>
Consumes the builder and constructs a ListTypeRegistrationsInput
.
source§impl ListTypeRegistrationsInputBuilder
impl ListTypeRegistrationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTypeRegistrationsOutput, SdkError<ListTypeRegistrationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTypeRegistrationsOutput, SdkError<ListTypeRegistrationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTypeRegistrationsInputBuilder
impl Clone for ListTypeRegistrationsInputBuilder
source§fn clone(&self) -> ListTypeRegistrationsInputBuilder
fn clone(&self) -> ListTypeRegistrationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListTypeRegistrationsInputBuilder
impl Default for ListTypeRegistrationsInputBuilder
source§fn default() -> ListTypeRegistrationsInputBuilder
fn default() -> ListTypeRegistrationsInputBuilder
source§impl PartialEq for ListTypeRegistrationsInputBuilder
impl PartialEq for ListTypeRegistrationsInputBuilder
source§fn eq(&self, other: &ListTypeRegistrationsInputBuilder) -> bool
fn eq(&self, other: &ListTypeRegistrationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTypeRegistrationsInputBuilder
Auto Trait Implementations§
impl Freeze for ListTypeRegistrationsInputBuilder
impl RefUnwindSafe for ListTypeRegistrationsInputBuilder
impl Send for ListTypeRegistrationsInputBuilder
impl Sync for ListTypeRegistrationsInputBuilder
impl Unpin for ListTypeRegistrationsInputBuilder
impl UnwindSafe for ListTypeRegistrationsInputBuilder
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