Interface PendingMaintenanceAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>,SdkBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>,SdkPojo
- Enclosing class:
- PendingMaintenanceAction
public static interface PendingMaintenanceAction.Builder extends SdkPojo, CopyableBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PendingMaintenanceAction.Builderaction(String action)The type of pending maintenance action that is available for the resource.PendingMaintenanceAction.BuilderautoAppliedAfterDate(Instant autoAppliedAfterDate)The date of the maintenance window when the action is applied.PendingMaintenanceAction.BuildercurrentApplyDate(Instant currentApplyDate)The effective date when the pending maintenance action is applied to the resource.PendingMaintenanceAction.Builderdescription(String description)A description providing more detail about the maintenance action.PendingMaintenanceAction.BuilderforcedApplyDate(Instant forcedApplyDate)The date when the maintenance action is automatically applied.PendingMaintenanceAction.BuilderoptInStatus(String optInStatus)Indicates the type of opt-in request that has been received for the resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
action
PendingMaintenanceAction.Builder action(String action)
The type of pending maintenance action that is available for the resource.
For more information about maintenance actions, see Maintaining a DB instance.
Valid Values:
-
ca-certificate-rotation -
db-upgrade -
hardware-maintenance -
os-upgrade -
system-update
For more information about these actions, see Maintenance actions for Amazon Aurora or Maintenance actions for Amazon RDS.
- Parameters:
action- The type of pending maintenance action that is available for the resource.For more information about maintenance actions, see Maintaining a DB instance.
Valid Values:
-
ca-certificate-rotation -
db-upgrade -
hardware-maintenance -
os-upgrade -
system-update
For more information about these actions, see Maintenance actions for Amazon Aurora or Maintenance actions for Amazon RDS.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
autoAppliedAfterDate
PendingMaintenanceAction.Builder autoAppliedAfterDate(Instant autoAppliedAfterDate)
The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date.
- Parameters:
autoAppliedAfterDate- The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forcedApplyDate
PendingMaintenanceAction.Builder forcedApplyDate(Instant forcedApplyDate)
The date when the maintenance action is automatically applied.
On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.
- Parameters:
forcedApplyDate- The date when the maintenance action is automatically applied.On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInStatus
PendingMaintenanceAction.Builder optInStatus(String optInStatus)
Indicates the type of opt-in request that has been received for the resource.
- Parameters:
optInStatus- Indicates the type of opt-in request that has been received for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentApplyDate
PendingMaintenanceAction.Builder currentApplyDate(Instant currentApplyDate)
The effective date when the pending maintenance action is applied to the resource. This date takes into account opt-in requests received from the
ApplyPendingMaintenanceActionAPI, theAutoAppliedAfterDate, and theForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDateorForcedApplyDate.- Parameters:
currentApplyDate- The effective date when the pending maintenance action is applied to the resource. This date takes into account opt-in requests received from theApplyPendingMaintenanceActionAPI, theAutoAppliedAfterDate, and theForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDateorForcedApplyDate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
PendingMaintenanceAction.Builder description(String description)
A description providing more detail about the maintenance action.
- Parameters:
description- A description providing more detail about the maintenance action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-