Struct aws_sdk_cloudwatchlogs::operation::put_data_protection_policy::PutDataProtectionPolicyOutput
source · #[non_exhaustive]pub struct PutDataProtectionPolicyOutput {
pub log_group_identifier: Option<String>,
pub policy_document: Option<String>,
pub last_updated_time: Option<i64>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.log_group_identifier: Option<String>
The log group name or ARN that you specified in your request.
policy_document: Option<String>
The data protection policy used for this log group.
last_updated_time: Option<i64>
The date and time that this policy was most recently updated.
Implementations§
source§impl PutDataProtectionPolicyOutput
impl PutDataProtectionPolicyOutput
sourcepub fn log_group_identifier(&self) -> Option<&str>
pub fn log_group_identifier(&self) -> Option<&str>
The log group name or ARN that you specified in your request.
sourcepub fn policy_document(&self) -> Option<&str>
pub fn policy_document(&self) -> Option<&str>
The data protection policy used for this log group.
sourcepub fn last_updated_time(&self) -> Option<i64>
pub fn last_updated_time(&self) -> Option<i64>
The date and time that this policy was most recently updated.
source§impl PutDataProtectionPolicyOutput
impl PutDataProtectionPolicyOutput
sourcepub fn builder() -> PutDataProtectionPolicyOutputBuilder
pub fn builder() -> PutDataProtectionPolicyOutputBuilder
Creates a new builder-style object to manufacture PutDataProtectionPolicyOutput
.
Trait Implementations§
source§impl Clone for PutDataProtectionPolicyOutput
impl Clone for PutDataProtectionPolicyOutput
source§fn clone(&self) -> PutDataProtectionPolicyOutput
fn clone(&self) -> PutDataProtectionPolicyOutput
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 for PutDataProtectionPolicyOutput
impl PartialEq for PutDataProtectionPolicyOutput
source§fn eq(&self, other: &PutDataProtectionPolicyOutput) -> bool
fn eq(&self, other: &PutDataProtectionPolicyOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PutDataProtectionPolicyOutput
impl RequestId for PutDataProtectionPolicyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for PutDataProtectionPolicyOutput
Auto Trait Implementations§
impl Freeze for PutDataProtectionPolicyOutput
impl RefUnwindSafe for PutDataProtectionPolicyOutput
impl Send for PutDataProtectionPolicyOutput
impl Sync for PutDataProtectionPolicyOutput
impl Unpin for PutDataProtectionPolicyOutput
impl UnwindSafe for PutDataProtectionPolicyOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.