@Generated(value="software.amazon.awssdk:codegen") public final class ServiceSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceSetting.Builder,ServiceSetting>
The service setting data structure.
ServiceSetting
is an account-level setting for an AWS service. This setting defines how a user interacts
with or uses a service or a feature of a service. For example, if an AWS service charges money to the account based
on feature or service usage, then the AWS 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. AWS 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
action to change the default setting. Or, use the ResetServiceSetting to change the value back to the original
value defined by the AWS service team.
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceSetting.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The ARN of the service setting.
|
static ServiceSetting.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedDate()
The last time the service setting was modified.
|
String |
lastModifiedUser()
The ARN of the last modified user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceSetting.Builder> |
serializableBuilderClass() |
String |
settingId()
The ID of the service setting.
|
String |
settingValue()
The value of the service setting.
|
String |
status()
The status of the service setting.
|
ServiceSetting.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String settingId()
The ID of the service setting.
public final String settingValue()
The value of the service setting.
public final Instant lastModifiedDate()
The last time the service setting was modified.
public final String lastModifiedUser()
The ARN of the last modified user. This field is populated only if the setting value was overwritten.
public final String arn()
The ARN of the service setting.
public final 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 AWS 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 AWS 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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ServiceSetting.Builder,ServiceSetting>
public static ServiceSetting.Builder builder()
public static Class<? extends ServiceSetting.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.