Struct aws_sdk_proton::types::builders::ServicePipelineStateBuilder
source · #[non_exhaustive]pub struct ServicePipelineStateBuilder { /* private fields */ }
Expand description
A builder for ServicePipelineState
.
Implementations§
source§impl ServicePipelineStateBuilder
impl ServicePipelineStateBuilder
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 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 build(self) -> Result<ServicePipelineState, BuildError>
pub fn build(self) -> Result<ServicePipelineState, BuildError>
Consumes the builder and constructs a ServicePipelineState
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ServicePipelineStateBuilder
impl Clone for ServicePipelineStateBuilder
source§fn clone(&self) -> ServicePipelineStateBuilder
fn clone(&self) -> ServicePipelineStateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServicePipelineStateBuilder
impl Debug for ServicePipelineStateBuilder
source§impl Default for ServicePipelineStateBuilder
impl Default for ServicePipelineStateBuilder
source§fn default() -> ServicePipelineStateBuilder
fn default() -> ServicePipelineStateBuilder
source§impl PartialEq for ServicePipelineStateBuilder
impl PartialEq for ServicePipelineStateBuilder
source§fn eq(&self, other: &ServicePipelineStateBuilder) -> bool
fn eq(&self, other: &ServicePipelineStateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.