/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.simplesystemsmanagement.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The service setting data structure. *
*
* ServiceSetting
is an account-level setting for an Amazon Web Services service. This setting defines how
* a user interacts with or uses a service or a feature of a service. For example, if an Amazon Web Services service
* charges money to the account based on feature or service usage, then the Amazon Web Services service team might
* create a default setting of "false". This means the user can't use this feature unless they change the setting to
* "true" and intentionally opt in for a paid feature.
*
* Services map a SettingId
object to a setting value. Amazon Web Services services teams define the
* default value for a SettingId
. You can't create a new SettingId
, but you can overwrite the
* default value if you have the ssm:UpdateServiceSetting
permission for the setting. Use the
* UpdateServiceSetting API operation to change the default setting. Or, use the ResetServiceSetting to
* change the value back to the original value defined by the Amazon Web Services service team.
*
* The ID of the service setting. *
*/ private String settingId; /** ** The value of the service setting. *
*/ private String settingValue; /** ** The last time the service setting was modified. *
*/ private java.util.Date lastModifiedDate; /** ** The ARN of the last modified user. This field is populated only if the setting value was overwritten. *
*/ private String lastModifiedUser; /** ** The ARN of the service setting. *
*/ private String aRN; /** ** 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. *
** The ID of the service setting. *
* * @param settingId * The ID of the service setting. */ public void setSettingId(String settingId) { this.settingId = settingId; } /** ** The ID of the service setting. *
* * @return The ID of the service setting. */ public String getSettingId() { return this.settingId; } /** ** The ID of the service setting. *
* * @param settingId * The ID of the service setting. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSetting withSettingId(String settingId) { setSettingId(settingId); return this; } /** ** The value of the service setting. *
* * @param settingValue * The value of the service setting. */ public void setSettingValue(String settingValue) { this.settingValue = settingValue; } /** ** The value of the service setting. *
* * @return The value of the service setting. */ public String getSettingValue() { return this.settingValue; } /** ** The value of the service setting. *
* * @param settingValue * The value of the service setting. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSetting withSettingValue(String settingValue) { setSettingValue(settingValue); return this; } /** ** The last time the service setting was modified. *
* * @param lastModifiedDate * The last time the service setting was modified. */ public void setLastModifiedDate(java.util.Date lastModifiedDate) { this.lastModifiedDate = lastModifiedDate; } /** ** The last time the service setting was modified. *
* * @return The last time the service setting was modified. */ public java.util.Date getLastModifiedDate() { return this.lastModifiedDate; } /** ** The last time the service setting was modified. *
* * @param lastModifiedDate * The last time the service setting was modified. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSetting withLastModifiedDate(java.util.Date lastModifiedDate) { setLastModifiedDate(lastModifiedDate); return this; } /** ** The ARN of the last modified user. This field is populated only if the setting value was overwritten. *
* * @param lastModifiedUser * The ARN of the last modified user. This field is populated only if the setting value was overwritten. */ public void setLastModifiedUser(String lastModifiedUser) { this.lastModifiedUser = lastModifiedUser; } /** ** The ARN of the last modified user. This field is populated only if the setting value was overwritten. *
* * @return The ARN of the last modified user. This field is populated only if the setting value was overwritten. */ public String getLastModifiedUser() { return this.lastModifiedUser; } /** ** The ARN of the last modified user. This field is populated only if the setting value was overwritten. *
* * @param lastModifiedUser * The ARN of the last modified user. This field is populated only if the setting value was overwritten. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSetting withLastModifiedUser(String lastModifiedUser) { setLastModifiedUser(lastModifiedUser); return this; } /** ** The ARN of the service setting. *
* * @param aRN * The ARN of the service setting. */ public void setARN(String aRN) { this.aRN = aRN; } /** ** The ARN of the service setting. *
* * @return The ARN of the service setting. */ public String getARN() { return this.aRN; } /** ** The ARN of the service setting. *
* * @param aRN * The ARN of the service setting. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSetting withARN(String aRN) { setARN(aRN); return this; } /** ** 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. *
** 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. *
** 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. *
** 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. *
** 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. *
** 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. *
*