Struct aws_sdk_securityhub::model::cvss::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Cvss
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version of CVSS for the CVSS score.
sourcepub fn base_score(self, input: f64) -> Self
pub fn base_score(self, input: f64) -> Self
The base CVSS score.
sourcepub fn set_base_score(self, input: Option<f64>) -> Self
pub fn set_base_score(self, input: Option<f64>) -> Self
The base CVSS score.
sourcepub fn base_vector(self, input: impl Into<String>) -> Self
pub fn base_vector(self, input: impl Into<String>) -> Self
The base scoring vector for the CVSS score.
sourcepub fn set_base_vector(self, input: Option<String>) -> Self
pub fn set_base_vector(self, input: Option<String>) -> Self
The base scoring vector for the CVSS score.
sourcepub fn source(self, input: impl Into<String>) -> Self
pub fn source(self, input: impl Into<String>) -> Self
The origin of the original CVSS score and vector.
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
The origin of the original CVSS score and vector.
sourcepub fn adjustments(self, input: Adjustment) -> Self
pub fn adjustments(self, input: Adjustment) -> Self
Appends an item to adjustments
.
To override the contents of this collection use set_adjustments
.
Adjustments to the CVSS metrics.
sourcepub fn set_adjustments(self, input: Option<Vec<Adjustment>>) -> Self
pub fn set_adjustments(self, input: Option<Vec<Adjustment>>) -> Self
Adjustments to the CVSS metrics.