#[non_exhaustive]pub struct SchemaResponseBuilder { /* private fields */ }
Expand description
A builder for SchemaResponse
.
Implementations§
source§impl SchemaResponseBuilder
impl SchemaResponseBuilder
sourcepub fn code_line_count(self, input: i64) -> Self
pub fn code_line_count(self, input: i64) -> Self
The number of lines of code in a schema in a Fleet Advisor collector inventory.
sourcepub fn set_code_line_count(self, input: Option<i64>) -> Self
pub fn set_code_line_count(self, input: Option<i64>) -> Self
The number of lines of code in a schema in a Fleet Advisor collector inventory.
sourcepub fn get_code_line_count(&self) -> &Option<i64>
pub fn get_code_line_count(&self) -> &Option<i64>
The number of lines of code in a schema in a Fleet Advisor collector inventory.
sourcepub fn code_size(self, input: i64) -> Self
pub fn code_size(self, input: i64) -> Self
The size level of the code in a schema in a Fleet Advisor collector inventory.
sourcepub fn set_code_size(self, input: Option<i64>) -> Self
pub fn set_code_size(self, input: Option<i64>) -> Self
The size level of the code in a schema in a Fleet Advisor collector inventory.
sourcepub fn get_code_size(&self) -> &Option<i64>
pub fn get_code_size(&self) -> &Option<i64>
The size level of the code in a schema in a Fleet Advisor collector inventory.
sourcepub fn complexity(self, input: impl Into<String>) -> Self
pub fn complexity(self, input: impl Into<String>) -> Self
The complexity level of the code in a schema in a Fleet Advisor collector inventory.
sourcepub fn set_complexity(self, input: Option<String>) -> Self
pub fn set_complexity(self, input: Option<String>) -> Self
The complexity level of the code in a schema in a Fleet Advisor collector inventory.
sourcepub fn get_complexity(&self) -> &Option<String>
pub fn get_complexity(&self) -> &Option<String>
The complexity level of the code in a schema in a Fleet Advisor collector inventory.
sourcepub fn server(self, input: ServerShortInfoResponse) -> Self
pub fn server(self, input: ServerShortInfoResponse) -> Self
The database server for a schema in a Fleet Advisor collector inventory.
sourcepub fn set_server(self, input: Option<ServerShortInfoResponse>) -> Self
pub fn set_server(self, input: Option<ServerShortInfoResponse>) -> Self
The database server for a schema in a Fleet Advisor collector inventory.
sourcepub fn get_server(&self) -> &Option<ServerShortInfoResponse>
pub fn get_server(&self) -> &Option<ServerShortInfoResponse>
The database server for a schema in a Fleet Advisor collector inventory.
sourcepub fn database_instance(self, input: DatabaseShortInfoResponse) -> Self
pub fn database_instance(self, input: DatabaseShortInfoResponse) -> Self
The database for a schema in a Fleet Advisor collector inventory.
sourcepub fn set_database_instance(
self,
input: Option<DatabaseShortInfoResponse>,
) -> Self
pub fn set_database_instance( self, input: Option<DatabaseShortInfoResponse>, ) -> Self
The database for a schema in a Fleet Advisor collector inventory.
sourcepub fn get_database_instance(&self) -> &Option<DatabaseShortInfoResponse>
pub fn get_database_instance(&self) -> &Option<DatabaseShortInfoResponse>
The database for a schema in a Fleet Advisor collector inventory.
sourcepub fn schema_id(self, input: impl Into<String>) -> Self
pub fn schema_id(self, input: impl Into<String>) -> Self
The ID of a schema in a Fleet Advisor collector inventory.
sourcepub fn set_schema_id(self, input: Option<String>) -> Self
pub fn set_schema_id(self, input: Option<String>) -> Self
The ID of a schema in a Fleet Advisor collector inventory.
sourcepub fn get_schema_id(&self) -> &Option<String>
pub fn get_schema_id(&self) -> &Option<String>
The ID of a schema in a Fleet Advisor collector inventory.
sourcepub fn schema_name(self, input: impl Into<String>) -> Self
pub fn schema_name(self, input: impl Into<String>) -> Self
The name of a schema in a Fleet Advisor collector inventory.
sourcepub fn set_schema_name(self, input: Option<String>) -> Self
pub fn set_schema_name(self, input: Option<String>) -> Self
The name of a schema in a Fleet Advisor collector inventory.
sourcepub fn get_schema_name(&self) -> &Option<String>
pub fn get_schema_name(&self) -> &Option<String>
The name of a schema in a Fleet Advisor collector inventory.
sourcepub fn original_schema(self, input: SchemaShortInfoResponse) -> Self
pub fn original_schema(self, input: SchemaShortInfoResponse) -> Self
Describes a schema in a Fleet Advisor collector inventory.
sourcepub fn set_original_schema(self, input: Option<SchemaShortInfoResponse>) -> Self
pub fn set_original_schema(self, input: Option<SchemaShortInfoResponse>) -> Self
Describes a schema in a Fleet Advisor collector inventory.
sourcepub fn get_original_schema(&self) -> &Option<SchemaShortInfoResponse>
pub fn get_original_schema(&self) -> &Option<SchemaShortInfoResponse>
Describes a schema in a Fleet Advisor collector inventory.
sourcepub fn similarity(self, input: f64) -> Self
pub fn similarity(self, input: f64) -> Self
The similarity value for a schema in a Fleet Advisor collector inventory. A higher similarity value indicates that a schema is likely to be a duplicate.
sourcepub fn set_similarity(self, input: Option<f64>) -> Self
pub fn set_similarity(self, input: Option<f64>) -> Self
The similarity value for a schema in a Fleet Advisor collector inventory. A higher similarity value indicates that a schema is likely to be a duplicate.
sourcepub fn get_similarity(&self) -> &Option<f64>
pub fn get_similarity(&self) -> &Option<f64>
The similarity value for a schema in a Fleet Advisor collector inventory. A higher similarity value indicates that a schema is likely to be a duplicate.
sourcepub fn build(self) -> SchemaResponse
pub fn build(self) -> SchemaResponse
Consumes the builder and constructs a SchemaResponse
.
Trait Implementations§
source§impl Clone for SchemaResponseBuilder
impl Clone for SchemaResponseBuilder
source§fn clone(&self) -> SchemaResponseBuilder
fn clone(&self) -> SchemaResponseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SchemaResponseBuilder
impl Debug for SchemaResponseBuilder
source§impl Default for SchemaResponseBuilder
impl Default for SchemaResponseBuilder
source§fn default() -> SchemaResponseBuilder
fn default() -> SchemaResponseBuilder
source§impl PartialEq for SchemaResponseBuilder
impl PartialEq for SchemaResponseBuilder
impl StructuralPartialEq for SchemaResponseBuilder
Auto Trait Implementations§
impl Freeze for SchemaResponseBuilder
impl RefUnwindSafe for SchemaResponseBuilder
impl Send for SchemaResponseBuilder
impl Sync for SchemaResponseBuilder
impl Unpin for SchemaResponseBuilder
impl UnwindSafe for SchemaResponseBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more