Struct aws_sdk_codecommit::types::builders::FileVersionBuilder
source · #[non_exhaustive]pub struct FileVersionBuilder { /* private fields */ }Expand description
A builder for FileVersion.
Implementations§
source§impl FileVersionBuilder
impl FileVersionBuilder
sourcepub fn set_commit(self, input: Option<Commit>) -> Self
pub fn set_commit(self, input: Option<Commit>) -> Self
Returns information about a specific commit.
sourcepub fn get_commit(&self) -> &Option<Commit>
pub fn get_commit(&self) -> &Option<Commit>
Returns information about a specific commit.
sourcepub fn blob_id(self, input: impl Into<String>) -> Self
pub fn blob_id(self, input: impl Into<String>) -> Self
The blob ID of the object that represents the content of the file in this version.
sourcepub fn set_blob_id(self, input: Option<String>) -> Self
pub fn set_blob_id(self, input: Option<String>) -> Self
The blob ID of the object that represents the content of the file in this version.
sourcepub fn get_blob_id(&self) -> &Option<String>
pub fn get_blob_id(&self) -> &Option<String>
The blob ID of the object that represents the content of the file in this version.
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.
sourcepub fn get_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.
sourcepub fn revision_children(self, input: impl Into<String>) -> Self
pub fn revision_children(self, input: impl Into<String>) -> Self
Appends an item to revision_children.
To override the contents of this collection use set_revision_children.
An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.
sourcepub fn set_revision_children(self, input: Option<Vec<String>>) -> Self
pub fn set_revision_children(self, input: Option<Vec<String>>) -> Self
An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.
sourcepub fn get_revision_children(&self) -> &Option<Vec<String>>
pub fn get_revision_children(&self) -> &Option<Vec<String>>
An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.
sourcepub fn build(self) -> FileVersion
pub fn build(self) -> FileVersion
Consumes the builder and constructs a FileVersion.
Trait Implementations§
source§impl Clone for FileVersionBuilder
impl Clone for FileVersionBuilder
source§fn clone(&self) -> FileVersionBuilder
fn clone(&self) -> FileVersionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FileVersionBuilder
impl Debug for FileVersionBuilder
source§impl Default for FileVersionBuilder
impl Default for FileVersionBuilder
source§fn default() -> FileVersionBuilder
fn default() -> FileVersionBuilder
source§impl PartialEq for FileVersionBuilder
impl PartialEq for FileVersionBuilder
source§fn eq(&self, other: &FileVersionBuilder) -> bool
fn eq(&self, other: &FileVersionBuilder) -> bool
self and other values to be equal, and is used
by ==.