Struct aws_sdk_proton::types::builders::ServicePipelineBuilder
source · #[non_exhaustive]pub struct ServicePipelineBuilder { /* private fields */ }
Expand description
A builder for ServicePipeline
.
Implementations§
source§impl ServicePipelineBuilder
impl ServicePipelineBuilder
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 pipeline.
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 service pipeline.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the service pipeline.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the service pipeline 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 service pipeline was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time when the service pipeline 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 pipeline 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 service pipeline 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 service pipeline 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 pipeline 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 service pipeline 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 service pipeline was last deployed successfully.
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 pipeline.
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 service template that was used to create the service pipeline.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the service template that was used to create the service pipeline.
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 pipeline.
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 service template that was used to create the service pipeline.
sourcepub fn get_template_major_version(&self) -> &Option<String>
pub fn get_template_major_version(&self) -> &Option<String>
The major version of the service template that was used to create the service pipeline.
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 pipeline.
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 service template that was used to create the service pipeline.
sourcepub fn get_template_minor_version(&self) -> &Option<String>
pub fn get_template_minor_version(&self) -> &Option<String>
The minor version of the service template that was used to create the service pipeline.
sourcepub fn deployment_status(self, input: DeploymentStatus) -> Self
pub fn deployment_status(self, input: DeploymentStatus) -> Self
The deployment status of the service pipeline.
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 deployment status of the service pipeline.
sourcepub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
pub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
The deployment status of the service pipeline.
sourcepub fn deployment_status_message(self, input: impl Into<String>) -> Self
pub fn deployment_status_message(self, input: impl Into<String>) -> Self
A service pipeline 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
A service pipeline deployment status message.
sourcepub fn get_deployment_status_message(&self) -> &Option<String>
pub fn get_deployment_status_message(&self) -> &Option<String>
A service pipeline deployment status message.
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 pipeline.
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 pipeline.
sourcepub fn get_spec(&self) -> &Option<String>
pub fn get_spec(&self) -> &Option<String>
The service spec that was used to create the service pipeline.
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 service pipeline.
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 service pipeline.
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 service pipeline.
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 service pipeline.
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 service pipeline.
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 service pipeline.
sourcepub fn build(self) -> Result<ServicePipeline, BuildError>
pub fn build(self) -> Result<ServicePipeline, BuildError>
Consumes the builder and constructs a ServicePipeline
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ServicePipelineBuilder
impl Clone for ServicePipelineBuilder
source§fn clone(&self) -> ServicePipelineBuilder
fn clone(&self) -> ServicePipelineBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServicePipelineBuilder
impl Debug for ServicePipelineBuilder
source§impl Default for ServicePipelineBuilder
impl Default for ServicePipelineBuilder
source§fn default() -> ServicePipelineBuilder
fn default() -> ServicePipelineBuilder
source§impl PartialEq for ServicePipelineBuilder
impl PartialEq for ServicePipelineBuilder
source§fn eq(&self, other: &ServicePipelineBuilder) -> bool
fn eq(&self, other: &ServicePipelineBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.