Interface PendingMaintenanceAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PendingMaintenanceAction.Builder,
,PendingMaintenanceAction> SdkBuilder<PendingMaintenanceAction.Builder,
,PendingMaintenanceAction> SdkPojo
- Enclosing class:
PendingMaintenanceAction
-
Method Summary
Modifier and TypeMethodDescriptionThe type of pending maintenance action that is available for the resource.autoAppliedAfterDate
(Instant autoAppliedAfterDate) The date of the maintenance window when the action is applied.currentApplyDate
(Instant currentApplyDate) The effective date when the pending maintenance action is applied to the resource.description
(String description) A description providing more detail about the maintenance action.forcedApplyDate
(Instant forcedApplyDate) The date when the maintenance action is automatically applied.optInStatus
(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, sdkFields
-
Method Details
-
action
The type of pending maintenance action that is available for the resource. Valid actions are
system-update
,db-upgrade
,hardware-maintenance
, andca-certificate-rotation
.- Parameters:
action
- The type of pending maintenance action that is available for the resource. Valid actions aresystem-update
,db-upgrade
,hardware-maintenance
, andca-certificate-rotation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
The effective date when the pending maintenance action is applied to the resource. This date takes into account opt-in requests received from the
ApplyPendingMaintenanceAction
API, theAutoAppliedAfterDate
, and theForcedApplyDate
. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDate
orForcedApplyDate
.- 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 theApplyPendingMaintenanceAction
API, theAutoAppliedAfterDate
, and theForcedApplyDate
. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDate
orForcedApplyDate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-