#[non_exhaustive]pub struct GetResourcePoliciesResponseEntryBuilder { /* private fields */ }
Expand description
A builder for GetResourcePoliciesResponseEntry
.
Implementations§
source§impl GetResourcePoliciesResponseEntryBuilder
impl GetResourcePoliciesResponseEntryBuilder
sourcepub fn set_policy_id(self, input: Option<String>) -> Self
pub fn set_policy_id(self, input: Option<String>) -> Self
A policy ID.
sourcepub fn get_policy_id(&self) -> &Option<String>
pub fn get_policy_id(&self) -> &Option<String>
A policy ID.
sourcepub fn policy_hash(self, input: impl Into<String>) -> Self
pub fn policy_hash(self, input: impl Into<String>) -> Self
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
sourcepub fn set_policy_hash(self, input: Option<String>) -> Self
pub fn set_policy_hash(self, input: Option<String>) -> Self
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
sourcepub fn get_policy_hash(&self) -> &Option<String>
pub fn get_policy_hash(&self) -> &Option<String>
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
sourcepub fn policy(self, input: impl Into<String>) -> Self
pub fn policy(self, input: impl Into<String>) -> Self
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
sourcepub fn set_policy(self, input: Option<String>) -> Self
pub fn set_policy(self, input: Option<String>) -> Self
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
sourcepub fn get_policy(&self) -> &Option<String>
pub fn get_policy(&self) -> &Option<String>
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
sourcepub fn build(self) -> GetResourcePoliciesResponseEntry
pub fn build(self) -> GetResourcePoliciesResponseEntry
Consumes the builder and constructs a GetResourcePoliciesResponseEntry
.
Trait Implementations§
source§impl Clone for GetResourcePoliciesResponseEntryBuilder
impl Clone for GetResourcePoliciesResponseEntryBuilder
source§fn clone(&self) -> GetResourcePoliciesResponseEntryBuilder
fn clone(&self) -> GetResourcePoliciesResponseEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetResourcePoliciesResponseEntryBuilder
impl Default for GetResourcePoliciesResponseEntryBuilder
source§fn default() -> GetResourcePoliciesResponseEntryBuilder
fn default() -> GetResourcePoliciesResponseEntryBuilder
source§impl PartialEq for GetResourcePoliciesResponseEntryBuilder
impl PartialEq for GetResourcePoliciesResponseEntryBuilder
source§fn eq(&self, other: &GetResourcePoliciesResponseEntryBuilder) -> bool
fn eq(&self, other: &GetResourcePoliciesResponseEntryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetResourcePoliciesResponseEntryBuilder
Auto Trait Implementations§
impl Freeze for GetResourcePoliciesResponseEntryBuilder
impl RefUnwindSafe for GetResourcePoliciesResponseEntryBuilder
impl Send for GetResourcePoliciesResponseEntryBuilder
impl Sync for GetResourcePoliciesResponseEntryBuilder
impl Unpin for GetResourcePoliciesResponseEntryBuilder
impl UnwindSafe for GetResourcePoliciesResponseEntryBuilder
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
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>
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>
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 more