#[non_exhaustive]pub struct ReplaceDefaultPolicyVersionParams { /* private fields */ }
Expand description
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
Implementations§
source§impl ReplaceDefaultPolicyVersionParams
impl ReplaceDefaultPolicyVersionParams
sourcepub fn template_name(&self) -> Option<&PolicyTemplateName>
pub fn template_name(&self) -> Option<&PolicyTemplateName>
The name of the template to be applied. The only supported value is BLANK_POLICY
.
source§impl ReplaceDefaultPolicyVersionParams
impl ReplaceDefaultPolicyVersionParams
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplaceDefaultPolicyVersionParams
.
Trait Implementations§
source§impl Clone for ReplaceDefaultPolicyVersionParams
impl Clone for ReplaceDefaultPolicyVersionParams
source§fn clone(&self) -> ReplaceDefaultPolicyVersionParams
fn clone(&self) -> ReplaceDefaultPolicyVersionParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<ReplaceDefaultPolicyVersionParams> for ReplaceDefaultPolicyVersionParams
impl PartialEq<ReplaceDefaultPolicyVersionParams> for ReplaceDefaultPolicyVersionParams
source§fn eq(&self, other: &ReplaceDefaultPolicyVersionParams) -> bool
fn eq(&self, other: &ReplaceDefaultPolicyVersionParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.