Struct aws_sdk_codecommit::types::builders::LocationBuilder
source · #[non_exhaustive]pub struct LocationBuilder { /* private fields */ }Expand description
A builder for Location.
Implementations§
source§impl LocationBuilder
impl LocationBuilder
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
The name of the file being compared, including its extension and subdirectory, if any.
sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The name of the file being compared, including its extension and subdirectory, if any.
sourcepub fn get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
The name of the file being compared, including its extension and subdirectory, if any.
sourcepub fn file_position(self, input: i64) -> Self
pub fn file_position(self, input: i64) -> Self
The position of a change in a compared file, in line number format.
sourcepub fn set_file_position(self, input: Option<i64>) -> Self
pub fn set_file_position(self, input: Option<i64>) -> Self
The position of a change in a compared file, in line number format.
sourcepub fn get_file_position(&self) -> &Option<i64>
pub fn get_file_position(&self) -> &Option<i64>
The position of a change in a compared file, in line number format.
sourcepub fn relative_file_version(self, input: RelativeFileVersionEnum) -> Self
pub fn relative_file_version(self, input: RelativeFileVersionEnum) -> Self
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
sourcepub fn set_relative_file_version(
self,
input: Option<RelativeFileVersionEnum>
) -> Self
pub fn set_relative_file_version( self, input: Option<RelativeFileVersionEnum> ) -> Self
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
sourcepub fn get_relative_file_version(&self) -> &Option<RelativeFileVersionEnum>
pub fn get_relative_file_version(&self) -> &Option<RelativeFileVersionEnum>
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
Trait Implementations§
source§impl Clone for LocationBuilder
impl Clone for LocationBuilder
source§fn clone(&self) -> LocationBuilder
fn clone(&self) -> LocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LocationBuilder
impl Debug for LocationBuilder
source§impl Default for LocationBuilder
impl Default for LocationBuilder
source§fn default() -> LocationBuilder
fn default() -> LocationBuilder
source§impl PartialEq for LocationBuilder
impl PartialEq for LocationBuilder
source§fn eq(&self, other: &LocationBuilder) -> bool
fn eq(&self, other: &LocationBuilder) -> bool
self and other values to be equal, and is used
by ==.