Struct aws_sdk_cloudformation::operation::list_stack_resources::builders::ListStackResourcesInputBuilder
source · #[non_exhaustive]pub struct ListStackResourcesInputBuilder { /* private fields */ }
Expand description
A builder for ListStackResourcesInput
.
Implementations§
source§impl ListStackResourcesInputBuilder
impl ListStackResourcesInputBuilder
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
This field is required.sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A string that identifies the next page of stack resources that you want to retrieve.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A string that identifies the next page of stack resources that you want to retrieve.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A string that identifies the next page of stack resources that you want to retrieve.
sourcepub fn build(self) -> Result<ListStackResourcesInput, BuildError>
pub fn build(self) -> Result<ListStackResourcesInput, BuildError>
Consumes the builder and constructs a ListStackResourcesInput
.
source§impl ListStackResourcesInputBuilder
impl ListStackResourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListStackResourcesOutput, SdkError<ListStackResourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListStackResourcesOutput, SdkError<ListStackResourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListStackResourcesInputBuilder
impl Clone for ListStackResourcesInputBuilder
source§fn clone(&self) -> ListStackResourcesInputBuilder
fn clone(&self) -> ListStackResourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListStackResourcesInputBuilder
impl Default for ListStackResourcesInputBuilder
source§fn default() -> ListStackResourcesInputBuilder
fn default() -> ListStackResourcesInputBuilder
source§impl PartialEq for ListStackResourcesInputBuilder
impl PartialEq for ListStackResourcesInputBuilder
source§fn eq(&self, other: &ListStackResourcesInputBuilder) -> bool
fn eq(&self, other: &ListStackResourcesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListStackResourcesInputBuilder
Auto Trait Implementations§
impl Freeze for ListStackResourcesInputBuilder
impl RefUnwindSafe for ListStackResourcesInputBuilder
impl Send for ListStackResourcesInputBuilder
impl Sync for ListStackResourcesInputBuilder
impl Unpin for ListStackResourcesInputBuilder
impl UnwindSafe for ListStackResourcesInputBuilder
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