#[non_exhaustive]pub struct PipelineMetadataBuilder { /* private fields */ }
Expand description
A builder for PipelineMetadata
.
Implementations§
source§impl PipelineMetadataBuilder
impl PipelineMetadataBuilder
sourcepub fn pipeline_arn(self, input: impl Into<String>) -> Self
pub fn pipeline_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the pipeline.
sourcepub fn set_pipeline_arn(self, input: Option<String>) -> Self
pub fn set_pipeline_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the pipeline.
sourcepub fn get_pipeline_arn(&self) -> &Option<String>
pub fn get_pipeline_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the pipeline.
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 the pipeline was last updated, 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 the pipeline was last updated, in timestamp format.
sourcepub fn get_updated(&self) -> &Option<DateTime>
pub fn get_updated(&self) -> &Option<DateTime>
The date and time the pipeline was last updated, in timestamp format.
sourcepub fn polling_disabled_at(self, input: DateTime) -> Self
pub fn polling_disabled_at(self, input: DateTime) -> Self
The date and time that polling for source changes (periodic checks) was stopped for the pipeline, in timestamp format. You can migrate (update) a polling pipeline to use event-based change detection. For example, for a pipeline with a CodeCommit source, we recommend you migrate (update) your pipeline to use CloudWatch Events. To learn more, see Migrate polling pipelines to use event-based change detection in the CodePipeline User Guide.
sourcepub fn set_polling_disabled_at(self, input: Option<DateTime>) -> Self
pub fn set_polling_disabled_at(self, input: Option<DateTime>) -> Self
The date and time that polling for source changes (periodic checks) was stopped for the pipeline, in timestamp format. You can migrate (update) a polling pipeline to use event-based change detection. For example, for a pipeline with a CodeCommit source, we recommend you migrate (update) your pipeline to use CloudWatch Events. To learn more, see Migrate polling pipelines to use event-based change detection in the CodePipeline User Guide.
sourcepub fn get_polling_disabled_at(&self) -> &Option<DateTime>
pub fn get_polling_disabled_at(&self) -> &Option<DateTime>
The date and time that polling for source changes (periodic checks) was stopped for the pipeline, in timestamp format. You can migrate (update) a polling pipeline to use event-based change detection. For example, for a pipeline with a CodeCommit source, we recommend you migrate (update) your pipeline to use CloudWatch Events. To learn more, see Migrate polling pipelines to use event-based change detection in the CodePipeline User Guide.
sourcepub fn build(self) -> PipelineMetadata
pub fn build(self) -> PipelineMetadata
Consumes the builder and constructs a PipelineMetadata
.
Trait Implementations§
source§impl Clone for PipelineMetadataBuilder
impl Clone for PipelineMetadataBuilder
source§fn clone(&self) -> PipelineMetadataBuilder
fn clone(&self) -> PipelineMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineMetadataBuilder
impl Debug for PipelineMetadataBuilder
source§impl Default for PipelineMetadataBuilder
impl Default for PipelineMetadataBuilder
source§fn default() -> PipelineMetadataBuilder
fn default() -> PipelineMetadataBuilder
source§impl PartialEq for PipelineMetadataBuilder
impl PartialEq for PipelineMetadataBuilder
source§fn eq(&self, other: &PipelineMetadataBuilder) -> bool
fn eq(&self, other: &PipelineMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.