public static class UpdateInstanceMaintenanceEventDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateInstanceMaintenanceEventDetails.Builder timeWindowStart(Date timeWindowStart)
The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
The timeWindowEnd is automatically calculated based on the maintenanceReason and the instanceAction.
timeWindowStart
- the value to setpublic UpdateInstanceMaintenanceEventDetails.Builder alternativeResolutionAction(InstanceMaintenanceAlternativeResolutionActions alternativeResolutionAction)
One of the alternativeResolutionActions that was provided in the InstanceMaintenanceEvent.
alternativeResolutionAction
- the value to setpublic UpdateInstanceMaintenanceEventDetails.Builder canDeleteLocalStorage(Boolean canDeleteLocalStorage)
This field is only applicable when setting the alternativeResolutionAction.
For Instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration. For instances without, this parameter has no effect.
In cases where the local storage will be lost, this parameter must be set or the request will fail.
canDeleteLocalStorage
- the value to setpublic UpdateInstanceMaintenanceEventDetails.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic UpdateInstanceMaintenanceEventDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic UpdateInstanceMaintenanceEventDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic UpdateInstanceMaintenanceEventDetails build()
public UpdateInstanceMaintenanceEventDetails.Builder copy(UpdateInstanceMaintenanceEventDetails model)
Copyright © 2016–2024. All rights reserved.