Struct aws_sdk_accessanalyzer::model::GeneratedPolicy
source · [−]#[non_exhaustive]pub struct GeneratedPolicy { /* private fields */ }Expand description
Contains the text for the generated policy.
Implementations
sourceimpl 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.
sourceimpl GeneratedPolicy
impl GeneratedPolicy
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GeneratedPolicy.
Trait Implementations
sourceimpl Clone for GeneratedPolicy
impl Clone for GeneratedPolicy
sourcefn clone(&self) -> GeneratedPolicy
fn clone(&self) -> GeneratedPolicy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for GeneratedPolicy
impl Debug for GeneratedPolicy
sourceimpl PartialEq<GeneratedPolicy> for GeneratedPolicy
impl PartialEq<GeneratedPolicy> for GeneratedPolicy
sourcefn eq(&self, other: &GeneratedPolicy) -> bool
fn eq(&self, other: &GeneratedPolicy) -> bool
impl StructuralPartialEq for GeneratedPolicy
Auto Trait Implementations
impl RefUnwindSafe for GeneratedPolicy
impl Send for GeneratedPolicy
impl Sync for GeneratedPolicy
impl Unpin for GeneratedPolicy
impl UnwindSafe for GeneratedPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more