#[non_exhaustive]pub struct PipelineSummaryBuilder { /* private fields */ }
Expand description
A builder for PipelineSummary
.
Implementations§
source§impl PipelineSummaryBuilder
impl PipelineSummaryBuilder
sourcepub fn set_version(self, input: Option<i32>) -> Self
pub fn set_version(self, input: Option<i32>) -> Self
The version number of the pipeline.
sourcepub fn get_version(&self) -> &Option<i32>
pub fn get_version(&self) -> &Option<i32>
The version number of the pipeline.
sourcepub fn pipeline_type(self, input: PipelineType) -> Self
pub fn pipeline_type(self, input: PipelineType) -> Self
CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.
-
V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.
-
V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.
Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.
For information about pricing for CodePipeline, see Pricing.
For information about which type of pipeline to choose, see What type of pipeline is right for me?.
sourcepub fn set_pipeline_type(self, input: Option<PipelineType>) -> Self
pub fn set_pipeline_type(self, input: Option<PipelineType>) -> Self
CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.
-
V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.
-
V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.
Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.
For information about pricing for CodePipeline, see Pricing.
For information about which type of pipeline to choose, see What type of pipeline is right for me?.
sourcepub fn get_pipeline_type(&self) -> &Option<PipelineType>
pub fn get_pipeline_type(&self) -> &Option<PipelineType>
CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.
-
V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.
-
V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.
Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.
For information about pricing for CodePipeline, see Pricing.
For information about which type of pipeline to choose, see What type of pipeline is right for me?.
sourcepub fn execution_mode(self, input: ExecutionMode) -> Self
pub fn execution_mode(self, input: ExecutionMode) -> Self
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
sourcepub fn set_execution_mode(self, input: Option<ExecutionMode>) -> Self
pub fn set_execution_mode(self, input: Option<ExecutionMode>) -> Self
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
sourcepub fn get_execution_mode(&self) -> &Option<ExecutionMode>
pub fn get_execution_mode(&self) -> &Option<ExecutionMode>
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
sourcepub fn created(self, input: DateTime) -> Self
pub fn created(self, input: DateTime) -> Self
The date and time the pipeline was created, in timestamp format.
sourcepub fn set_created(self, input: Option<DateTime>) -> Self
pub fn set_created(self, input: Option<DateTime>) -> Self
The date and time the pipeline was created, in timestamp format.
sourcepub fn get_created(&self) -> &Option<DateTime>
pub fn get_created(&self) -> &Option<DateTime>
The date and time the pipeline was created, in timestamp format.
sourcepub fn updated(self, input: DateTime) -> Self
pub fn updated(self, input: DateTime) -> Self
The date and time of the last update to the pipeline, in timestamp format.
sourcepub fn set_updated(self, input: Option<DateTime>) -> Self
pub fn set_updated(self, input: Option<DateTime>) -> Self
The date and time of the last update to the pipeline, in timestamp format.
sourcepub fn get_updated(&self) -> &Option<DateTime>
pub fn get_updated(&self) -> &Option<DateTime>
The date and time of the last update to the pipeline, in timestamp format.
sourcepub fn build(self) -> PipelineSummary
pub fn build(self) -> PipelineSummary
Consumes the builder and constructs a PipelineSummary
.
Trait Implementations§
source§impl Clone for PipelineSummaryBuilder
impl Clone for PipelineSummaryBuilder
source§fn clone(&self) -> PipelineSummaryBuilder
fn clone(&self) -> PipelineSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineSummaryBuilder
impl Debug for PipelineSummaryBuilder
source§impl Default for PipelineSummaryBuilder
impl Default for PipelineSummaryBuilder
source§fn default() -> PipelineSummaryBuilder
fn default() -> PipelineSummaryBuilder
source§impl PartialEq for PipelineSummaryBuilder
impl PartialEq for PipelineSummaryBuilder
source§fn eq(&self, other: &PipelineSummaryBuilder) -> bool
fn eq(&self, other: &PipelineSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PipelineSummaryBuilder
Auto Trait Implementations§
impl Freeze for PipelineSummaryBuilder
impl RefUnwindSafe for PipelineSummaryBuilder
impl Send for PipelineSummaryBuilder
impl Sync for PipelineSummaryBuilder
impl Unpin for PipelineSummaryBuilder
impl UnwindSafe for PipelineSummaryBuilder
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