Struct aws_sdk_cloudformation::operation::detect_stack_set_drift::builders::DetectStackSetDriftInputBuilder
source · #[non_exhaustive]pub struct DetectStackSetDriftInputBuilder { /* private fields */ }
Expand description
A builder for DetectStackSetDriftInput
.
Implementations§
source§impl DetectStackSetDriftInputBuilder
impl DetectStackSetDriftInputBuilder
sourcepub fn stack_set_name(self, input: impl Into<String>) -> Self
pub fn stack_set_name(self, input: impl Into<String>) -> Self
The name of the stack set on which to perform the drift detection operation.
This field is required.sourcepub fn set_stack_set_name(self, input: Option<String>) -> Self
pub fn set_stack_set_name(self, input: Option<String>) -> Self
The name of the stack set on which to perform the drift detection operation.
sourcepub fn get_stack_set_name(&self) -> &Option<String>
pub fn get_stack_set_name(&self) -> &Option<String>
The name of the stack set on which to perform the drift detection operation.
sourcepub fn operation_preferences(self, input: StackSetOperationPreferences) -> Self
pub fn operation_preferences(self, input: StackSetOperationPreferences) -> Self
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.
sourcepub fn set_operation_preferences(
self,
input: Option<StackSetOperationPreferences>
) -> Self
pub fn set_operation_preferences( self, input: Option<StackSetOperationPreferences> ) -> Self
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.
sourcepub fn get_operation_preferences(&self) -> &Option<StackSetOperationPreferences>
pub fn get_operation_preferences(&self) -> &Option<StackSetOperationPreferences>
The user-specified preferences for how CloudFormation performs a stack set operation.
For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.
sourcepub fn operation_id(self, input: impl Into<String>) -> Self
pub fn operation_id(self, input: impl Into<String>) -> Self
The ID of the stack set operation.
sourcepub fn set_operation_id(self, input: Option<String>) -> Self
pub fn set_operation_id(self, input: Option<String>) -> Self
The ID of the stack set operation.
sourcepub fn get_operation_id(&self) -> &Option<String>
pub fn get_operation_id(&self) -> &Option<String>
The ID of the stack set operation.
sourcepub fn call_as(self, input: CallAs) -> Self
pub fn call_as(self, input: CallAs) -> Self
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF
. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
sourcepub fn set_call_as(self, input: Option<CallAs>) -> Self
pub fn set_call_as(self, input: Option<CallAs>) -> Self
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF
. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
sourcepub fn get_call_as(&self) -> &Option<CallAs>
pub fn get_call_as(&self) -> &Option<CallAs>
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified. Use SELF
for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF
. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
sourcepub fn build(self) -> Result<DetectStackSetDriftInput, BuildError>
pub fn build(self) -> Result<DetectStackSetDriftInput, BuildError>
Consumes the builder and constructs a DetectStackSetDriftInput
.
source§impl DetectStackSetDriftInputBuilder
impl DetectStackSetDriftInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DetectStackSetDriftOutput, SdkError<DetectStackSetDriftError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DetectStackSetDriftOutput, SdkError<DetectStackSetDriftError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DetectStackSetDriftInputBuilder
impl Clone for DetectStackSetDriftInputBuilder
source§fn clone(&self) -> DetectStackSetDriftInputBuilder
fn clone(&self) -> DetectStackSetDriftInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DetectStackSetDriftInputBuilder
impl Default for DetectStackSetDriftInputBuilder
source§fn default() -> DetectStackSetDriftInputBuilder
fn default() -> DetectStackSetDriftInputBuilder
source§impl PartialEq for DetectStackSetDriftInputBuilder
impl PartialEq for DetectStackSetDriftInputBuilder
source§fn eq(&self, other: &DetectStackSetDriftInputBuilder) -> bool
fn eq(&self, other: &DetectStackSetDriftInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.