Struct aws_sdk_accessanalyzer::types::GeneratedPolicy
source · #[non_exhaustive]pub struct GeneratedPolicy { /* private fields */ }Expand description
Contains the text for the generated policy.
Implementations§
source§impl GeneratedPolicy
impl GeneratedPolicy
sourcepub fn policy(&self) -> Option<&str>
pub fn policy(&self) -> Option<&str>
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
source§impl GeneratedPolicy
impl GeneratedPolicy
sourcepub fn builder() -> GeneratedPolicyBuilder
pub fn builder() -> GeneratedPolicyBuilder
Creates a new builder-style object to manufacture GeneratedPolicy.
Trait Implementations§
source§impl Clone for GeneratedPolicy
impl Clone for GeneratedPolicy
source§fn clone(&self) -> GeneratedPolicy
fn clone(&self) -> GeneratedPolicy
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 Debug for GeneratedPolicy
impl Debug for GeneratedPolicy
source§impl PartialEq<GeneratedPolicy> for GeneratedPolicy
impl PartialEq<GeneratedPolicy> for GeneratedPolicy
source§fn eq(&self, other: &GeneratedPolicy) -> bool
fn eq(&self, other: &GeneratedPolicy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.