Struct aws_sdk_appsync::model::code_error_location::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CodeErrorLocation
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_line(self, input: Option<i32>) -> Self
pub fn set_line(self, input: Option<i32>) -> Self
The line number in the code. Defaults to 0
if unknown.
sourcepub fn column(self, input: i32) -> Self
pub fn column(self, input: i32) -> Self
The column number in the code. Defaults to 0
if unknown.
sourcepub fn set_column(self, input: Option<i32>) -> Self
pub fn set_column(self, input: Option<i32>) -> Self
The column number in the code. Defaults to 0
if unknown.
sourcepub fn set_span(self, input: Option<i32>) -> Self
pub fn set_span(self, input: Option<i32>) -> Self
The span/length of the error. Defaults to -1
if unknown.
sourcepub fn build(self) -> CodeErrorLocation
pub fn build(self) -> CodeErrorLocation
Consumes the builder and constructs a CodeErrorLocation
.