#[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
impl StructuralPartialEq for PipelineMetadataBuilder
Auto Trait Implementations§
impl Freeze for PipelineMetadataBuilder
impl RefUnwindSafe for PipelineMetadataBuilder
impl Send for PipelineMetadataBuilder
impl Sync for PipelineMetadataBuilder
impl Unpin for PipelineMetadataBuilder
impl UnwindSafe for PipelineMetadataBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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