Struct aws_sdk_ssm::model::service_setting::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ServiceSetting.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> ServiceSetting
pub fn build(self) -> ServiceSetting
Consumes the builder and constructs a ServiceSetting.