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 ==
.impl StructuralPartialEq for ServicePipelineStateBuilder
Auto Trait Implementations§
impl Freeze for ServicePipelineStateBuilder
impl RefUnwindSafe for ServicePipelineStateBuilder
impl Send for ServicePipelineStateBuilder
impl Sync for ServicePipelineStateBuilder
impl Unpin for ServicePipelineStateBuilder
impl UnwindSafe for ServicePipelineStateBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more