Struct aws_sdk_ssm::types::builders::ParameterInlinePolicyBuilder
source · #[non_exhaustive]pub struct ParameterInlinePolicyBuilder { /* private fields */ }
Expand description
A builder for ParameterInlinePolicy
.
Implementations§
source§impl ParameterInlinePolicyBuilder
impl ParameterInlinePolicyBuilder
sourcepub fn policy_text(self, input: impl Into<String>) -> Self
pub fn policy_text(self, input: impl Into<String>) -> Self
The JSON text of the policy.
sourcepub fn set_policy_text(self, input: Option<String>) -> Self
pub fn set_policy_text(self, input: Option<String>) -> Self
The JSON text of the policy.
sourcepub fn get_policy_text(&self) -> &Option<String>
pub fn get_policy_text(&self) -> &Option<String>
The JSON text of the policy.
sourcepub fn policy_type(self, input: impl Into<String>) -> Self
pub fn policy_type(self, input: impl Into<String>) -> Self
The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
sourcepub fn set_policy_type(self, input: Option<String>) -> Self
pub fn set_policy_type(self, input: Option<String>) -> Self
The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
sourcepub fn get_policy_type(&self) -> &Option<String>
pub fn get_policy_type(&self) -> &Option<String>
The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
sourcepub fn policy_status(self, input: impl Into<String>) -> Self
pub fn policy_status(self, input: impl Into<String>) -> Self
The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the policy is being applied now).
sourcepub fn set_policy_status(self, input: Option<String>) -> Self
pub fn set_policy_status(self, input: Option<String>) -> Self
The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the policy is being applied now).
sourcepub fn get_policy_status(&self) -> &Option<String>
pub fn get_policy_status(&self) -> &Option<String>
The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the policy is being applied now).
sourcepub fn build(self) -> ParameterInlinePolicy
pub fn build(self) -> ParameterInlinePolicy
Consumes the builder and constructs a ParameterInlinePolicy
.
Trait Implementations§
source§impl Clone for ParameterInlinePolicyBuilder
impl Clone for ParameterInlinePolicyBuilder
source§fn clone(&self) -> ParameterInlinePolicyBuilder
fn clone(&self) -> ParameterInlinePolicyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterInlinePolicyBuilder
impl Debug for ParameterInlinePolicyBuilder
source§impl Default for ParameterInlinePolicyBuilder
impl Default for ParameterInlinePolicyBuilder
source§fn default() -> ParameterInlinePolicyBuilder
fn default() -> ParameterInlinePolicyBuilder
source§impl PartialEq for ParameterInlinePolicyBuilder
impl PartialEq for ParameterInlinePolicyBuilder
source§fn eq(&self, other: &ParameterInlinePolicyBuilder) -> bool
fn eq(&self, other: &ParameterInlinePolicyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParameterInlinePolicyBuilder
Auto Trait Implementations§
impl Freeze for ParameterInlinePolicyBuilder
impl RefUnwindSafe for ParameterInlinePolicyBuilder
impl Send for ParameterInlinePolicyBuilder
impl Sync for ParameterInlinePolicyBuilder
impl Unpin for ParameterInlinePolicyBuilder
impl UnwindSafe for ParameterInlinePolicyBuilder
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