Struct aws_sdk_securityhub::model::AwsIamPolicyVersion
source · #[non_exhaustive]pub struct AwsIamPolicyVersion { /* private fields */ }
Expand description
A version of an IAM policy.
Implementations§
source§impl AwsIamPolicyVersion
impl AwsIamPolicyVersion
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The identifier of the policy version.
sourcepub fn is_default_version(&self) -> bool
pub fn is_default_version(&self) -> bool
Whether the version is the default version.
sourcepub fn create_date(&self) -> Option<&str>
pub fn create_date(&self) -> Option<&str>
Indicates when the version was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
source§impl AwsIamPolicyVersion
impl AwsIamPolicyVersion
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsIamPolicyVersion
.
Trait Implementations§
source§impl Clone for AwsIamPolicyVersion
impl Clone for AwsIamPolicyVersion
source§fn clone(&self) -> AwsIamPolicyVersion
fn clone(&self) -> AwsIamPolicyVersion
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 AwsIamPolicyVersion
impl Debug for AwsIamPolicyVersion
source§impl PartialEq<AwsIamPolicyVersion> for AwsIamPolicyVersion
impl PartialEq<AwsIamPolicyVersion> for AwsIamPolicyVersion
source§fn eq(&self, other: &AwsIamPolicyVersion) -> bool
fn eq(&self, other: &AwsIamPolicyVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.