Struct aws_sdk_proton::model::service_instance::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ServiceInstance
.
Implementations§
source§impl Builder
impl Builder
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 service instance.
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 service instance.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the service instance was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the service instance 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 service instance was last attempted.
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 service instance 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 service instance was last deployed successfully.
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 service instance was last deployed successfully.
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 that the service instance belongs to.
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 that the service instance belongs to.
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 that the service instance was deployed into.
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 that the service instance was deployed into.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the service template that was used to create the service instance.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the service template that was used to create the service instance.
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 service template that was used to create the service instance.
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 service template that was used to create the service instance.
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 service template that was used to create the service instance.
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 service template that was used to create the service instance.
sourcepub fn deployment_status(self, input: DeploymentStatus) -> Self
pub fn deployment_status(self, input: DeploymentStatus) -> Self
The service instance deployment status.
sourcepub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
pub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
The service instance deployment status.
sourcepub fn deployment_status_message(self, input: impl Into<String>) -> Self
pub fn deployment_status_message(self, input: impl Into<String>) -> Self
The message associated with the service instance deployment status.
sourcepub fn set_deployment_status_message(self, input: Option<String>) -> Self
pub fn set_deployment_status_message(self, input: Option<String>) -> Self
The message associated with the service instance deployment status.
sourcepub fn spec(self, input: impl Into<String>) -> Self
pub fn spec(self, input: impl Into<String>) -> Self
The service spec that was used to create the service instance.
sourcepub fn set_spec(self, input: Option<String>) -> Self
pub fn set_spec(self, input: Option<String>) -> Self
The service spec that was used to create the service instance.
sourcepub fn build(self) -> ServiceInstance
pub fn build(self) -> ServiceInstance
Consumes the builder and constructs a ServiceInstance
.