Struct aws_sdk_securityhub::model::adjustment::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Adjustment
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_metric(self, input: Option<String>) -> Self
pub fn set_metric(self, input: Option<String>) -> Self
The metric to adjust.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason for the adjustment.
sourcepub fn build(self) -> Adjustment
pub fn build(self) -> Adjustment
Consumes the builder and constructs a Adjustment
.