#[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
source§fn eq(&self, other: &SchemaResponseBuilder) -> bool
fn eq(&self, other: &SchemaResponseBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.