Class AccountSetting
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccountSetting.Builder,AccountSetting>
Describes an account setting for Amazon EC2 Auto Scaling. Account settings control how certain features behave for your account. Some settings can be enforced after a specified date, meaning that after the enforcement date, you can no longer modify the setting.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AccountSetting.Builderbuilder()final StringThe default value of the account setting before the enforcement date.final StringThe value that will be enforced after the enforcement date.final InstantThe date when the account setting will be enforced.final StringThe type of enforcement for the account setting.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the account setting.static Class<? extends AccountSetting.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringvalue()The current value of the account setting.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the account setting. Each account setting has a unique name that identifies the specific feature it controls.
- Returns:
- The name of the account setting. Each account setting has a unique name that identifies the specific feature it controls.
-
value
The current value of the account setting.
- Returns:
- The current value of the account setting.
-
enforcementType
The type of enforcement for the account setting. Valid values include:
hard(the setting has a hard enforcement date after which the setting will be enforced and cannot be modified),flexible(the setting has a flexible enforcement where you can always modify the setting value), andnone(the setting has no enforcement and can always be modified).- Returns:
- The type of enforcement for the account setting. Valid values include:
hard(the setting has a hard enforcement date after which the setting will be enforced and cannot be modified),flexible(the setting has a flexible enforcement where you can always modify the setting value), andnone(the setting has no enforcement and can always be modified).
-
enforcementDate
The date when the account setting will be enforced. After this date, for settings with hard enforcement type, you can no longer modify the setting value. This parameter is only returned for settings with hard or flexible enforcement types.
- Returns:
- The date when the account setting will be enforced. After this date, for settings with hard enforcement type, you can no longer modify the setting value. This parameter is only returned for settings with hard or flexible enforcement types.
-
defaultValue
The default value of the account setting before the enforcement date. Valid values are enabled and disabled. This parameter is only returned for settings with hard or flexible enforcement types.
- Returns:
- The default value of the account setting before the enforcement date. Valid values are enabled and disabled. This parameter is only returned for settings with hard or flexible enforcement types.
-
enforcedValue
The value that will be enforced after the enforcement date. Valid values are enabled and disabled. This parameter is only returned for settings with hard or flexible enforcement types.
- Returns:
- The value that will be enforced after the enforcement date. Valid values are enabled and disabled. This parameter is only returned for settings with hard or flexible enforcement types.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AccountSetting.Builder,AccountSetting> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-