Struct aws_sdk_macie2::model::policy_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PolicyDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn action(self, input: FindingAction) -> Self
pub fn action(self, input: FindingAction) -> Self
The action that produced the finding.
sourcepub fn set_action(self, input: Option<FindingAction>) -> Self
pub fn set_action(self, input: Option<FindingAction>) -> Self
The action that produced the finding.
sourcepub fn actor(self, input: FindingActor) -> Self
pub fn actor(self, input: FindingActor) -> Self
The entity that performed the action that produced the finding.
sourcepub fn set_actor(self, input: Option<FindingActor>) -> Self
pub fn set_actor(self, input: Option<FindingActor>) -> Self
The entity that performed the action that produced the finding.
sourcepub fn build(self) -> PolicyDetails
pub fn build(self) -> PolicyDetails
Consumes the builder and constructs a PolicyDetails
.