Struct aws_sdk_codecommit::types::builders::DifferenceBuilder
source · #[non_exhaustive]pub struct DifferenceBuilder { /* private fields */ }
Expand description
A builder for Difference
.
Implementations§
source§impl DifferenceBuilder
impl DifferenceBuilder
sourcepub fn before_blob(self, input: BlobMetadata) -> Self
pub fn before_blob(self, input: BlobMetadata) -> Self
Information about a beforeBlob
data type object, including the ID, the file mode permission code, and the path.
sourcepub fn set_before_blob(self, input: Option<BlobMetadata>) -> Self
pub fn set_before_blob(self, input: Option<BlobMetadata>) -> Self
Information about a beforeBlob
data type object, including the ID, the file mode permission code, and the path.
sourcepub fn get_before_blob(&self) -> &Option<BlobMetadata>
pub fn get_before_blob(&self) -> &Option<BlobMetadata>
Information about a beforeBlob
data type object, including the ID, the file mode permission code, and the path.
sourcepub fn after_blob(self, input: BlobMetadata) -> Self
pub fn after_blob(self, input: BlobMetadata) -> Self
Information about an afterBlob
data type object, including the ID, the file mode permission code, and the path.
sourcepub fn set_after_blob(self, input: Option<BlobMetadata>) -> Self
pub fn set_after_blob(self, input: Option<BlobMetadata>) -> Self
Information about an afterBlob
data type object, including the ID, the file mode permission code, and the path.
sourcepub fn get_after_blob(&self) -> &Option<BlobMetadata>
pub fn get_after_blob(&self) -> &Option<BlobMetadata>
Information about an afterBlob
data type object, including the ID, the file mode permission code, and the path.
sourcepub fn change_type(self, input: ChangeTypeEnum) -> Self
pub fn change_type(self, input: ChangeTypeEnum) -> Self
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
sourcepub fn set_change_type(self, input: Option<ChangeTypeEnum>) -> Self
pub fn set_change_type(self, input: Option<ChangeTypeEnum>) -> Self
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
sourcepub fn get_change_type(&self) -> &Option<ChangeTypeEnum>
pub fn get_change_type(&self) -> &Option<ChangeTypeEnum>
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
sourcepub fn build(self) -> Difference
pub fn build(self) -> Difference
Consumes the builder and constructs a Difference
.
Trait Implementations§
source§impl Clone for DifferenceBuilder
impl Clone for DifferenceBuilder
source§fn clone(&self) -> DifferenceBuilder
fn clone(&self) -> DifferenceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DifferenceBuilder
impl Debug for DifferenceBuilder
source§impl Default for DifferenceBuilder
impl Default for DifferenceBuilder
source§fn default() -> DifferenceBuilder
fn default() -> DifferenceBuilder
source§impl PartialEq for DifferenceBuilder
impl PartialEq for DifferenceBuilder
source§fn eq(&self, other: &DifferenceBuilder) -> bool
fn eq(&self, other: &DifferenceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.