Struct aws_sdk_proton::types::builders::DeploymentSummaryBuilder
source · #[non_exhaustive]pub struct DeploymentSummaryBuilder { /* private fields */ }
Expand description
A builder for DeploymentSummary
.
Implementations§
source§impl DeploymentSummaryBuilder
impl DeploymentSummaryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the deployment.
This field is required.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 deployment.
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 deployment.
sourcepub fn target_arn(self, input: impl Into<String>) -> Self
pub fn target_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the target of the deployment.
This field is required.sourcepub fn set_target_arn(self, input: Option<String>) -> Self
pub fn set_target_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the target of the deployment.
sourcepub fn get_target_arn(&self) -> &Option<String>
pub fn get_target_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the target of the deployment.
sourcepub fn target_resource_created_at(self, input: DateTime) -> Self
pub fn target_resource_created_at(self, input: DateTime) -> Self
The date and time the target resource was created.
This field is required.sourcepub fn set_target_resource_created_at(self, input: Option<DateTime>) -> Self
pub fn set_target_resource_created_at(self, input: Option<DateTime>) -> Self
The date and time the target resource was created.
sourcepub fn get_target_resource_created_at(&self) -> &Option<DateTime>
pub fn get_target_resource_created_at(&self) -> &Option<DateTime>
The date and time the target resource was created.
sourcepub fn target_resource_type(self, input: DeploymentTargetResourceType) -> Self
pub fn target_resource_type(self, input: DeploymentTargetResourceType) -> Self
The resource type of the deployment target. It can be an environment, service, service instance, or component.
This field is required.sourcepub fn set_target_resource_type(
self,
input: Option<DeploymentTargetResourceType>
) -> Self
pub fn set_target_resource_type( self, input: Option<DeploymentTargetResourceType> ) -> Self
The resource type of the deployment target. It can be an environment, service, service instance, or component.
sourcepub fn get_target_resource_type(&self) -> &Option<DeploymentTargetResourceType>
pub fn get_target_resource_type(&self) -> &Option<DeploymentTargetResourceType>
The resource type of the deployment target. It can be an environment, service, service instance, or component.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time the deployment 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 date and time the deployment was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time the deployment was created.
sourcepub fn last_modified_at(self, input: DateTime) -> Self
pub fn last_modified_at(self, input: DateTime) -> Self
The date and time the deployment was last modified.
This field is required.sourcepub fn set_last_modified_at(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_at(self, input: Option<DateTime>) -> Self
The date and time the deployment was last modified.
sourcepub fn get_last_modified_at(&self) -> &Option<DateTime>
pub fn get_last_modified_at(&self) -> &Option<DateTime>
The date and time the deployment was last modified.
sourcepub fn completed_at(self, input: DateTime) -> Self
pub fn completed_at(self, input: DateTime) -> Self
The date and time the deployment was completed.
sourcepub fn set_completed_at(self, input: Option<DateTime>) -> Self
pub fn set_completed_at(self, input: Option<DateTime>) -> Self
The date and time the deployment was completed.
sourcepub fn get_completed_at(&self) -> &Option<DateTime>
pub fn get_completed_at(&self) -> &Option<DateTime>
The date and time the deployment was completed.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of the environment associated with the deployment.
This field is required.sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of the environment associated with the deployment.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of the environment associated with the deployment.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the service associated with the deployment.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the service associated with the deployment.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the service associated with the deployment.
sourcepub fn service_instance_name(self, input: impl Into<String>) -> Self
pub fn service_instance_name(self, input: impl Into<String>) -> Self
The name of the service instance associated with the deployment.
sourcepub fn set_service_instance_name(self, input: Option<String>) -> Self
pub fn set_service_instance_name(self, input: Option<String>) -> Self
The name of the service instance associated with the deployment.
sourcepub fn get_service_instance_name(&self) -> &Option<String>
pub fn get_service_instance_name(&self) -> &Option<String>
The name of the service instance associated with the deployment.
sourcepub fn component_name(self, input: impl Into<String>) -> Self
pub fn component_name(self, input: impl Into<String>) -> Self
The name of the component associated with the deployment.
sourcepub fn set_component_name(self, input: Option<String>) -> Self
pub fn set_component_name(self, input: Option<String>) -> Self
The name of the component associated with the deployment.
sourcepub fn get_component_name(&self) -> &Option<String>
pub fn get_component_name(&self) -> &Option<String>
The name of the component associated with the deployment.
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.
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.
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.
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.
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.
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.
sourcepub fn deployment_status(self, input: DeploymentStatus) -> Self
pub fn deployment_status(self, input: DeploymentStatus) -> Self
The current status of the deployment.
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 current status of the deployment.
sourcepub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
pub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
The current status of the deployment.
sourcepub fn build(self) -> Result<DeploymentSummary, BuildError>
pub fn build(self) -> Result<DeploymentSummary, BuildError>
Consumes the builder and constructs a DeploymentSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DeploymentSummaryBuilder
impl Clone for DeploymentSummaryBuilder
source§fn clone(&self) -> DeploymentSummaryBuilder
fn clone(&self) -> DeploymentSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentSummaryBuilder
impl Debug for DeploymentSummaryBuilder
source§impl Default for DeploymentSummaryBuilder
impl Default for DeploymentSummaryBuilder
source§fn default() -> DeploymentSummaryBuilder
fn default() -> DeploymentSummaryBuilder
source§impl PartialEq for DeploymentSummaryBuilder
impl PartialEq for DeploymentSummaryBuilder
source§fn eq(&self, other: &DeploymentSummaryBuilder) -> bool
fn eq(&self, other: &DeploymentSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.