Struct aws_sdk_cloudformation::operation::describe_stack_instance::builders::DescribeStackInstanceInputBuilder
source · #[non_exhaustive]pub struct DescribeStackInstanceInputBuilder { /* private fields */ }
Expand description
A builder for DescribeStackInstanceInput
.
Implementations§
source§impl DescribeStackInstanceInputBuilder
impl DescribeStackInstanceInputBuilder
sourcepub fn stack_set_name(self, input: impl Into<String>) -> Self
pub fn stack_set_name(self, input: impl Into<String>) -> Self
The name or the unique stack ID of the stack set that you want to get stack instance information for.
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 or the unique stack ID of the stack set that you want to get stack instance information for.
sourcepub fn get_stack_set_name(&self) -> &Option<String>
pub fn get_stack_set_name(&self) -> &Option<String>
The name or the unique stack ID of the stack set that you want to get stack instance information for.
sourcepub fn stack_instance_account(self, input: impl Into<String>) -> Self
pub fn stack_instance_account(self, input: impl Into<String>) -> Self
The ID of an Amazon Web Services account that's associated with this stack instance.
This field is required.sourcepub fn set_stack_instance_account(self, input: Option<String>) -> Self
pub fn set_stack_instance_account(self, input: Option<String>) -> Self
The ID of an Amazon Web Services account that's associated with this stack instance.
sourcepub fn get_stack_instance_account(&self) -> &Option<String>
pub fn get_stack_instance_account(&self) -> &Option<String>
The ID of an Amazon Web Services account that's associated with this stack instance.
sourcepub fn stack_instance_region(self, input: impl Into<String>) -> Self
pub fn stack_instance_region(self, input: impl Into<String>) -> Self
The name of a Region that's associated with this stack instance.
This field is required.sourcepub fn set_stack_instance_region(self, input: Option<String>) -> Self
pub fn set_stack_instance_region(self, input: Option<String>) -> Self
The name of a Region that's associated with this stack instance.
sourcepub fn get_stack_instance_region(&self) -> &Option<String>
pub fn get_stack_instance_region(&self) -> &Option<String>
The name of a Region that's associated with this stack instance.
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<DescribeStackInstanceInput, BuildError>
pub fn build(self) -> Result<DescribeStackInstanceInput, BuildError>
Consumes the builder and constructs a DescribeStackInstanceInput
.
source§impl DescribeStackInstanceInputBuilder
impl DescribeStackInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeStackInstanceOutput, SdkError<DescribeStackInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeStackInstanceOutput, SdkError<DescribeStackInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeStackInstanceInputBuilder
impl Clone for DescribeStackInstanceInputBuilder
source§fn clone(&self) -> DescribeStackInstanceInputBuilder
fn clone(&self) -> DescribeStackInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeStackInstanceInputBuilder
impl Default for DescribeStackInstanceInputBuilder
source§fn default() -> DescribeStackInstanceInputBuilder
fn default() -> DescribeStackInstanceInputBuilder
source§impl PartialEq for DescribeStackInstanceInputBuilder
impl PartialEq for DescribeStackInstanceInputBuilder
source§fn eq(&self, other: &DescribeStackInstanceInputBuilder) -> bool
fn eq(&self, other: &DescribeStackInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.