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 ==
.