Struct aws_sdk_codepipeline::model::current_revision::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CurrentRevision
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn revision(self, input: impl Into<String>) -> Self
pub fn revision(self, input: impl Into<String>) -> Self
The revision ID of the current version of an artifact.
sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The revision ID of the current version of an artifact.
sourcepub fn change_identifier(self, input: impl Into<String>) -> Self
pub fn change_identifier(self, input: impl Into<String>) -> Self
The change identifier for the current revision.
sourcepub fn set_change_identifier(self, input: Option<String>) -> Self
pub fn set_change_identifier(self, input: Option<String>) -> Self
The change identifier for the current revision.
sourcepub fn created(self, input: DateTime) -> Self
pub fn created(self, input: DateTime) -> Self
The date and time when the most recent revision of the artifact 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 when the most recent revision of the artifact was created, in timestamp format.
sourcepub fn revision_summary(self, input: impl Into<String>) -> Self
pub fn revision_summary(self, input: impl Into<String>) -> Self
The summary of the most recent revision of the artifact.
sourcepub fn set_revision_summary(self, input: Option<String>) -> Self
pub fn set_revision_summary(self, input: Option<String>) -> Self
The summary of the most recent revision of the artifact.
sourcepub fn build(self) -> CurrentRevision
pub fn build(self) -> CurrentRevision
Consumes the builder and constructs a CurrentRevision
.