Struct aws_sdk_ssm::types::builders::ServiceSettingBuilder
source · #[non_exhaustive]pub struct ServiceSettingBuilder { /* private fields */ }
Expand description
A builder for ServiceSetting
.
Implementations§
source§impl ServiceSettingBuilder
impl ServiceSettingBuilder
sourcepub fn setting_id(self, input: impl Into<String>) -> Self
pub fn setting_id(self, input: impl Into<String>) -> Self
The ID of the service setting.
sourcepub fn set_setting_id(self, input: Option<String>) -> Self
pub fn set_setting_id(self, input: Option<String>) -> Self
The ID of the service setting.
sourcepub fn get_setting_id(&self) -> &Option<String>
pub fn get_setting_id(&self) -> &Option<String>
The ID of the service setting.
sourcepub fn setting_value(self, input: impl Into<String>) -> Self
pub fn setting_value(self, input: impl Into<String>) -> Self
The value of the service setting.
sourcepub fn set_setting_value(self, input: Option<String>) -> Self
pub fn set_setting_value(self, input: Option<String>) -> Self
The value of the service setting.
sourcepub fn get_setting_value(&self) -> &Option<String>
pub fn get_setting_value(&self) -> &Option<String>
The value of the service setting.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
The last time the service setting was modified.
sourcepub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
The last time the service setting was modified.
sourcepub fn get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
The last time the service setting was modified.
sourcepub fn last_modified_user(self, input: impl Into<String>) -> Self
pub fn last_modified_user(self, input: impl Into<String>) -> Self
The ARN of the last modified user. This field is populated only if the setting value was overwritten.
sourcepub fn set_last_modified_user(self, input: Option<String>) -> Self
pub fn set_last_modified_user(self, input: Option<String>) -> Self
The ARN of the last modified user. This field is populated only if the setting value was overwritten.
sourcepub fn get_last_modified_user(&self) -> &Option<String>
pub fn get_last_modified_user(&self) -> &Option<String>
The ARN of the last modified user. This field is populated only if the setting value was overwritten.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the service setting. The value can be Default, Customized or PendingUpdate.
-
Default: The current setting uses a default value provisioned by the Amazon Web Services service team.
-
Customized: The current setting use a custom value specified by the customer.
-
PendingUpdate: The current setting uses a default or custom value, but a setting change request is pending approval.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the service setting. The value can be Default, Customized or PendingUpdate.
-
Default: The current setting uses a default value provisioned by the Amazon Web Services service team.
-
Customized: The current setting use a custom value specified by the customer.
-
PendingUpdate: The current setting uses a default or custom value, but a setting change request is pending approval.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the service setting. The value can be Default, Customized or PendingUpdate.
-
Default: The current setting uses a default value provisioned by the Amazon Web Services service team.
-
Customized: The current setting use a custom value specified by the customer.
-
PendingUpdate: The current setting uses a default or custom value, but a setting change request is pending approval.
sourcepub fn build(self) -> ServiceSetting
pub fn build(self) -> ServiceSetting
Consumes the builder and constructs a ServiceSetting
.
Trait Implementations§
source§impl Clone for ServiceSettingBuilder
impl Clone for ServiceSettingBuilder
source§fn clone(&self) -> ServiceSettingBuilder
fn clone(&self) -> ServiceSettingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceSettingBuilder
impl Debug for ServiceSettingBuilder
source§impl Default for ServiceSettingBuilder
impl Default for ServiceSettingBuilder
source§fn default() -> ServiceSettingBuilder
fn default() -> ServiceSettingBuilder
source§impl PartialEq for ServiceSettingBuilder
impl PartialEq for ServiceSettingBuilder
source§fn eq(&self, other: &ServiceSettingBuilder) -> bool
fn eq(&self, other: &ServiceSettingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.