Struct aws_sdk_cloudformation::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsInputBuilder
source · #[non_exhaustive]pub struct DescribeStackResourceDriftsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeStackResourceDriftsInput
.
Implementations§
source§impl DescribeStackResourceDriftsInputBuilder
impl DescribeStackResourceDriftsInputBuilder
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name of the stack for which you want drift information.
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 of the stack for which you want drift information.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name of the stack for which you want drift information.
sourcepub fn stack_resource_drift_status_filters(
self,
input: StackResourceDriftStatus
) -> Self
pub fn stack_resource_drift_status_filters( self, input: StackResourceDriftStatus ) -> Self
Appends an item to stack_resource_drift_status_filters
.
To override the contents of this collection use set_stack_resource_drift_status_filters
.
The resource drift status values to use as filters for the resource drift results returned.
-
DELETED
: The resource differs from its expected template configuration in that the resource has been deleted. -
MODIFIED
: One or more resource properties differ from their expected template values. -
IN_SYNC
: The resource's actual configuration matches its expected template configuration. -
NOT_CHECKED
: CloudFormation doesn't currently return this value.
sourcepub fn set_stack_resource_drift_status_filters(
self,
input: Option<Vec<StackResourceDriftStatus>>
) -> Self
pub fn set_stack_resource_drift_status_filters( self, input: Option<Vec<StackResourceDriftStatus>> ) -> Self
The resource drift status values to use as filters for the resource drift results returned.
-
DELETED
: The resource differs from its expected template configuration in that the resource has been deleted. -
MODIFIED
: One or more resource properties differ from their expected template values. -
IN_SYNC
: The resource's actual configuration matches its expected template configuration. -
NOT_CHECKED
: CloudFormation doesn't currently return this value.
sourcepub fn get_stack_resource_drift_status_filters(
&self
) -> &Option<Vec<StackResourceDriftStatus>>
pub fn get_stack_resource_drift_status_filters( &self ) -> &Option<Vec<StackResourceDriftStatus>>
The resource drift status values to use as filters for the resource drift results returned.
-
DELETED
: The resource differs from its expected template configuration in that the resource has been deleted. -
MODIFIED
: One or more resource properties differ from their expected template values. -
IN_SYNC
: The resource's actual configuration matches its expected template configuration. -
NOT_CHECKED
: CloudFormation doesn't currently return this 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 resource drift results.
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 resource drift results.
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 resource drift results.
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 build(self) -> Result<DescribeStackResourceDriftsInput, BuildError>
pub fn build(self) -> Result<DescribeStackResourceDriftsInput, BuildError>
Consumes the builder and constructs a DescribeStackResourceDriftsInput
.
source§impl DescribeStackResourceDriftsInputBuilder
impl DescribeStackResourceDriftsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeStackResourceDriftsOutput, SdkError<DescribeStackResourceDriftsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeStackResourceDriftsOutput, SdkError<DescribeStackResourceDriftsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeStackResourceDriftsInputBuilder
impl Clone for DescribeStackResourceDriftsInputBuilder
source§fn clone(&self) -> DescribeStackResourceDriftsInputBuilder
fn clone(&self) -> DescribeStackResourceDriftsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeStackResourceDriftsInputBuilder
impl Default for DescribeStackResourceDriftsInputBuilder
source§fn default() -> DescribeStackResourceDriftsInputBuilder
fn default() -> DescribeStackResourceDriftsInputBuilder
source§impl PartialEq for DescribeStackResourceDriftsInputBuilder
impl PartialEq for DescribeStackResourceDriftsInputBuilder
source§fn eq(&self, other: &DescribeStackResourceDriftsInputBuilder) -> bool
fn eq(&self, other: &DescribeStackResourceDriftsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeStackResourceDriftsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeStackResourceDriftsInputBuilder
impl RefUnwindSafe for DescribeStackResourceDriftsInputBuilder
impl Send for DescribeStackResourceDriftsInputBuilder
impl Sync for DescribeStackResourceDriftsInputBuilder
impl Unpin for DescribeStackResourceDriftsInputBuilder
impl UnwindSafe for DescribeStackResourceDriftsInputBuilder
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