Struct aws_sdk_securityhub::model::status_reason::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StatusReason
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn reason_code(self, input: impl Into<String>) -> Self
pub fn reason_code(self, input: impl Into<String>) -> Self
A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
sourcepub fn set_reason_code(self, input: Option<String>) -> Self
pub fn set_reason_code(self, input: Option<String>) -> Self
A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The corresponding description for the status reason code.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The corresponding description for the status reason code.
sourcepub fn build(self) -> StatusReason
pub fn build(self) -> StatusReason
Consumes the builder and constructs a StatusReason
.