Interface AccountSetting.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountSetting.Builder,,AccountSetting> SdkBuilder<AccountSetting.Builder,,AccountSetting> SdkPojo
- Enclosing class:
AccountSetting
-
Method Summary
Modifier and TypeMethodDescriptiondefaultValue(String defaultValue) The default value of the account setting before the enforcement date.enforcedValue(String enforcedValue) The value that will be enforced after the enforcement date.enforcementDate(Instant enforcementDate) The date when the account setting will be enforced.enforcementType(String enforcementType) The type of enforcement for the account setting.The name of the account setting.The current value of the account setting.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the account setting. Each account setting has a unique name that identifies the specific feature it controls.
- Parameters:
name- The name of the account setting. Each account setting has a unique name that identifies the specific feature it controls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The current value of the account setting.
- Parameters:
value- The current value of the account setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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).- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-