Struct aws_sdk_proton::operation::create_environment_account_connection::builders::CreateEnvironmentAccountConnectionInputBuilder
source · #[non_exhaustive]pub struct CreateEnvironmentAccountConnectionInputBuilder { /* private fields */ }
Expand description
A builder for CreateEnvironmentAccountConnectionInput
.
Implementations§
source§impl CreateEnvironmentAccountConnectionInputBuilder
impl CreateEnvironmentAccountConnectionInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
sourcepub fn management_account_id(self, input: impl Into<String>) -> Self
pub fn management_account_id(self, input: impl Into<String>) -> Self
The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
sourcepub fn set_management_account_id(self, input: Option<String>) -> Self
pub fn set_management_account_id(self, input: Option<String>) -> Self
The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
sourcepub fn get_management_account_id(&self) -> &Option<String>
pub fn get_management_account_id(&self) -> &Option<String>
The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of the Proton environment that's created in the associated management account.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of the Proton environment that's created in the associated management account.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of the Proton environment that's created in the associated management account.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
sourcepub fn component_role_arn(self, input: impl Into<String>) -> Self
pub fn component_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
You must specify componentRoleArn
to allow directly defined components to be associated with any environments running in this account.
For more information about components, see Proton components in the Proton User Guide.
sourcepub fn set_component_role_arn(self, input: Option<String>) -> Self
pub fn set_component_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
You must specify componentRoleArn
to allow directly defined components to be associated with any environments running in this account.
For more information about components, see Proton components in the Proton User Guide.
sourcepub fn get_component_role_arn(&self) -> &Option<String>
pub fn get_component_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
You must specify componentRoleArn
to allow directly defined components to be associated with any environments running in this account.
For more information about components, see Proton components in the Proton User Guide.
sourcepub fn codebuild_role_arn(self, input: impl Into<String>) -> Self
pub fn codebuild_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
sourcepub fn set_codebuild_role_arn(self, input: Option<String>) -> Self
pub fn set_codebuild_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
sourcepub fn get_codebuild_role_arn(&self) -> &Option<String>
pub fn get_codebuild_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
sourcepub fn build(
self
) -> Result<CreateEnvironmentAccountConnectionInput, BuildError>
pub fn build( self ) -> Result<CreateEnvironmentAccountConnectionInput, BuildError>
Consumes the builder and constructs a CreateEnvironmentAccountConnectionInput
.
source§impl CreateEnvironmentAccountConnectionInputBuilder
impl CreateEnvironmentAccountConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateEnvironmentAccountConnectionOutput, SdkError<CreateEnvironmentAccountConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateEnvironmentAccountConnectionOutput, SdkError<CreateEnvironmentAccountConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateEnvironmentAccountConnectionInputBuilder
impl Clone for CreateEnvironmentAccountConnectionInputBuilder
source§fn clone(&self) -> CreateEnvironmentAccountConnectionInputBuilder
fn clone(&self) -> CreateEnvironmentAccountConnectionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateEnvironmentAccountConnectionInputBuilder
impl Default for CreateEnvironmentAccountConnectionInputBuilder
source§fn default() -> CreateEnvironmentAccountConnectionInputBuilder
fn default() -> CreateEnvironmentAccountConnectionInputBuilder
source§impl PartialEq for CreateEnvironmentAccountConnectionInputBuilder
impl PartialEq for CreateEnvironmentAccountConnectionInputBuilder
source§fn eq(&self, other: &CreateEnvironmentAccountConnectionInputBuilder) -> bool
fn eq(&self, other: &CreateEnvironmentAccountConnectionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.