Class ServiceSetting
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.ServiceSetting
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceSetting.Builder,ServiceSetting>
@Generated("software.amazon.awssdk:codegen") public final class ServiceSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceSetting.Builder,ServiceSetting>
The service setting data structure.
ServiceSettingis 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
SettingIdobject to a setting value. Amazon Web Services services teams define the default value for aSettingId. You can't create a newSettingId, but you can overwrite the default value if you have thessm:UpdateServiceSettingpermission 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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceSetting.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the service setting.static ServiceSetting.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedDate()The last time the service setting was modified.StringlastModifiedUser()The ARN of the last modified user.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServiceSetting.Builder>serializableBuilderClass()StringsettingId()The ID of the service setting.StringsettingValue()The value of the service setting.Stringstatus()The status of the service setting.ServiceSetting.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
settingId
public final String settingId()
The ID of the service setting.
- Returns:
- The ID of the service setting.
-
settingValue
public final String settingValue()
The value of the service setting.
- Returns:
- The value of the service setting.
-
lastModifiedDate
public final Instant lastModifiedDate()
The last time the service setting was modified.
- Returns:
- The last time the service setting was modified.
-
lastModifiedUser
public final String lastModifiedUser()
The ARN of the last modified user. This field is populated only if the setting value was overwritten.
- Returns:
- The ARN of the last modified user. This field is populated only if the setting value was overwritten.
-
arn
public final String arn()
The ARN of the service setting.
- Returns:
- The ARN of the service setting.
-
status
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 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.
- Returns:
- 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.
-
-
-
toBuilder
public ServiceSetting.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceSetting.Builder,ServiceSetting>
-
builder
public static ServiceSetting.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceSetting.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-