Struct aws_sdk_proton::types::builders::EnvironmentSummaryBuilder
source · #[non_exhaustive]pub struct EnvironmentSummaryBuilder { /* private fields */ }Expand description
A builder for EnvironmentSummary.
Implementations§
source§impl EnvironmentSummaryBuilder
impl EnvironmentSummaryBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the environment.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the environment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the environment.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the environment.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the environment was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the environment was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time when the environment was created.
sourcepub fn last_deployment_attempted_at(self, input: DateTime) -> Self
pub fn last_deployment_attempted_at(self, input: DateTime) -> Self
The time when a deployment of the environment was last attempted.
This field is required.sourcepub fn set_last_deployment_attempted_at(self, input: Option<DateTime>) -> Self
pub fn set_last_deployment_attempted_at(self, input: Option<DateTime>) -> Self
The time when a deployment of the environment was last attempted.
sourcepub fn get_last_deployment_attempted_at(&self) -> &Option<DateTime>
pub fn get_last_deployment_attempted_at(&self) -> &Option<DateTime>
The time when a deployment of the environment was last attempted.
sourcepub fn last_deployment_succeeded_at(self, input: DateTime) -> Self
pub fn last_deployment_succeeded_at(self, input: DateTime) -> Self
The time when the environment was last deployed successfully.
This field is required.sourcepub fn set_last_deployment_succeeded_at(self, input: Option<DateTime>) -> Self
pub fn set_last_deployment_succeeded_at(self, input: Option<DateTime>) -> Self
The time when the environment was last deployed successfully.
sourcepub fn get_last_deployment_succeeded_at(&self) -> &Option<DateTime>
pub fn get_last_deployment_succeeded_at(&self) -> &Option<DateTime>
The time when the environment was last deployed successfully.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the environment.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the environment.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the environment template.
This field is required.sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the environment template.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the environment template.
sourcepub fn template_major_version(self, input: impl Into<String>) -> Self
pub fn template_major_version(self, input: impl Into<String>) -> Self
The major version of the environment template.
This field is required.sourcepub fn set_template_major_version(self, input: Option<String>) -> Self
pub fn set_template_major_version(self, input: Option<String>) -> Self
The major version of the environment template.
sourcepub fn get_template_major_version(&self) -> &Option<String>
pub fn get_template_major_version(&self) -> &Option<String>
The major version of the environment template.
sourcepub fn template_minor_version(self, input: impl Into<String>) -> Self
pub fn template_minor_version(self, input: impl Into<String>) -> Self
The minor version of the environment template.
This field is required.sourcepub fn set_template_minor_version(self, input: Option<String>) -> Self
pub fn set_template_minor_version(self, input: Option<String>) -> Self
The minor version of the environment template.
sourcepub fn get_template_minor_version(&self) -> &Option<String>
pub fn get_template_minor_version(&self) -> &Option<String>
The minor version of the environment template.
sourcepub fn deployment_status(self, input: DeploymentStatus) -> Self
pub fn deployment_status(self, input: DeploymentStatus) -> Self
The environment deployment status.
This field is required.sourcepub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
pub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
The environment deployment status.
sourcepub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
pub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
The environment deployment status.
sourcepub fn deployment_status_message(self, input: impl Into<String>) -> Self
pub fn deployment_status_message(self, input: impl Into<String>) -> Self
An environment deployment status message.
sourcepub fn set_deployment_status_message(self, input: Option<String>) -> Self
pub fn set_deployment_status_message(self, input: Option<String>) -> Self
An environment deployment status message.
sourcepub fn get_deployment_status_message(&self) -> &Option<String>
pub fn get_deployment_status_message(&self) -> &Option<String>
An environment deployment status message.
sourcepub fn proton_service_role_arn(self, input: impl Into<String>) -> Self
pub fn proton_service_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
sourcepub fn set_proton_service_role_arn(self, input: Option<String>) -> Self
pub fn set_proton_service_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
sourcepub fn get_proton_service_role_arn(&self) -> &Option<String>
pub fn get_proton_service_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
sourcepub fn environment_account_connection_id(self, input: impl Into<String>) -> Self
pub fn environment_account_connection_id(self, input: impl Into<String>) -> Self
The ID of the environment account connection that the environment is associated with.
sourcepub fn set_environment_account_connection_id(
self,
input: Option<String>
) -> Self
pub fn set_environment_account_connection_id( self, input: Option<String> ) -> Self
The ID of the environment account connection that the environment is associated with.
sourcepub fn get_environment_account_connection_id(&self) -> &Option<String>
pub fn get_environment_account_connection_id(&self) -> &Option<String>
The ID of the environment account connection that the environment is associated with.
sourcepub fn environment_account_id(self, input: impl Into<String>) -> Self
pub fn environment_account_id(self, input: impl Into<String>) -> Self
The ID of the environment account that the environment infrastructure resources are provisioned in.
sourcepub fn set_environment_account_id(self, input: Option<String>) -> Self
pub fn set_environment_account_id(self, input: Option<String>) -> Self
The ID of the environment account that the environment infrastructure resources are provisioned in.
sourcepub fn get_environment_account_id(&self) -> &Option<String>
pub fn get_environment_account_id(&self) -> &Option<String>
The ID of the environment account that the environment infrastructure resources are provisioned in.
sourcepub fn provisioning(self, input: Provisioning) -> Self
pub fn provisioning(self, input: Provisioning) -> Self
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
sourcepub fn set_provisioning(self, input: Option<Provisioning>) -> Self
pub fn set_provisioning(self, input: Option<Provisioning>) -> Self
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
sourcepub fn get_provisioning(&self) -> &Option<Provisioning>
pub fn get_provisioning(&self) -> &Option<Provisioning>
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
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 this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.
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 this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.
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 this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.
For more information about components, see Proton components in the Proton User Guide.
sourcepub fn last_attempted_deployment_id(self, input: impl Into<String>) -> Self
pub fn last_attempted_deployment_id(self, input: impl Into<String>) -> Self
The ID of the last attempted deployment of this environment.
sourcepub fn set_last_attempted_deployment_id(self, input: Option<String>) -> Self
pub fn set_last_attempted_deployment_id(self, input: Option<String>) -> Self
The ID of the last attempted deployment of this environment.
sourcepub fn get_last_attempted_deployment_id(&self) -> &Option<String>
pub fn get_last_attempted_deployment_id(&self) -> &Option<String>
The ID of the last attempted deployment of this environment.
sourcepub fn last_succeeded_deployment_id(self, input: impl Into<String>) -> Self
pub fn last_succeeded_deployment_id(self, input: impl Into<String>) -> Self
The ID of the last successful deployment of this environment.
sourcepub fn set_last_succeeded_deployment_id(self, input: Option<String>) -> Self
pub fn set_last_succeeded_deployment_id(self, input: Option<String>) -> Self
The ID of the last successful deployment of this environment.
sourcepub fn get_last_succeeded_deployment_id(&self) -> &Option<String>
pub fn get_last_succeeded_deployment_id(&self) -> &Option<String>
The ID of the last successful deployment of this environment.
sourcepub fn build(self) -> Result<EnvironmentSummary, BuildError>
pub fn build(self) -> Result<EnvironmentSummary, BuildError>
Consumes the builder and constructs a EnvironmentSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EnvironmentSummaryBuilder
impl Clone for EnvironmentSummaryBuilder
source§fn clone(&self) -> EnvironmentSummaryBuilder
fn clone(&self) -> EnvironmentSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EnvironmentSummaryBuilder
impl Debug for EnvironmentSummaryBuilder
source§impl Default for EnvironmentSummaryBuilder
impl Default for EnvironmentSummaryBuilder
source§fn default() -> EnvironmentSummaryBuilder
fn default() -> EnvironmentSummaryBuilder
source§impl PartialEq for EnvironmentSummaryBuilder
impl PartialEq for EnvironmentSummaryBuilder
source§fn eq(&self, other: &EnvironmentSummaryBuilder) -> bool
fn eq(&self, other: &EnvironmentSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.