@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceSetting extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ServiceSetting() |
Modifier and Type | Method and Description |
---|---|
ServiceSetting |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The ARN of the service setting.
|
Date |
getLastModifiedDate()
The last time the service setting was modified.
|
String |
getLastModifiedUser()
The ARN of the last modified user.
|
String |
getSettingId()
The ID of the service setting.
|
String |
getSettingValue()
The value of the service setting.
|
String |
getStatus()
The status of the service setting.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setARN(String aRN)
The ARN of the service setting.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The last time the service setting was modified.
|
void |
setLastModifiedUser(String lastModifiedUser)
The ARN of the last modified user.
|
void |
setSettingId(String settingId)
The ID of the service setting.
|
void |
setSettingValue(String settingValue)
The value of the service setting.
|
void |
setStatus(String status)
The status of the service setting.
|
String |
toString()
Returns a string representation of this object.
|
ServiceSetting |
withARN(String aRN)
The ARN of the service setting.
|
ServiceSetting |
withLastModifiedDate(Date lastModifiedDate)
The last time the service setting was modified.
|
ServiceSetting |
withLastModifiedUser(String lastModifiedUser)
The ARN of the last modified user.
|
ServiceSetting |
withSettingId(String settingId)
The ID of the service setting.
|
ServiceSetting |
withSettingValue(String settingValue)
The value of the service setting.
|
ServiceSetting |
withStatus(String status)
The status of the service setting.
|
public void setSettingId(String settingId)
The ID of the service setting.
settingId
- The ID of the service setting.public String getSettingId()
The ID of the service setting.
public ServiceSetting withSettingId(String settingId)
The ID of the service setting.
settingId
- The ID of the service setting.public void setSettingValue(String settingValue)
The value of the service setting.
settingValue
- The value of the service setting.public String getSettingValue()
The value of the service setting.
public ServiceSetting withSettingValue(String settingValue)
The value of the service setting.
settingValue
- The value of the service setting.public void setLastModifiedDate(Date lastModifiedDate)
The last time the service setting was modified.
lastModifiedDate
- The last time the service setting was modified.public Date getLastModifiedDate()
The last time the service setting was modified.
public ServiceSetting withLastModifiedDate(Date lastModifiedDate)
The last time the service setting was modified.
lastModifiedDate
- The last time the service setting was modified.public void setLastModifiedUser(String lastModifiedUser)
The ARN of the last modified user. This field is populated only if the setting value was overwritten.
lastModifiedUser
- The ARN of the last modified user. This field is populated only if the setting value was overwritten.public String getLastModifiedUser()
The ARN of the last modified user. This field is populated only if the setting value was overwritten.
public ServiceSetting withLastModifiedUser(String lastModifiedUser)
The ARN of the last modified user. This field is populated only if the setting value was overwritten.
lastModifiedUser
- The ARN of the last modified user. This field is populated only if the setting value was overwritten.public void setARN(String aRN)
The ARN of the service setting.
aRN
- The ARN of the service setting.public String getARN()
The ARN of the service setting.
public ServiceSetting withARN(String aRN)
The ARN of the service setting.
aRN
- The ARN of the service setting.public void setStatus(String status)
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.
status
- 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.
public String getStatus()
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.
public ServiceSetting withStatus(String status)
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.
status
- 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.
public String toString()
toString
in class Object
Object.toString()
public ServiceSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.