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 to be applied.currentApplyDate
(Instant currentApplyDate) The effective date when the pending maintenance action will be 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 will be automatically applied.optInStatus
(String optInStatus) 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.
- Parameters:
action
- The type of pending maintenance action that is available for the resource.- 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 to be applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any
next-maintenance
opt-in requests are ignored.- Parameters:
autoAppliedAfterDate
- The date of the maintenance window when the action is to be applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, anynext-maintenance
opt-in requests are ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forcedApplyDate
The date when the maintenance action will be automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any
immediate
opt-in requests are ignored.- Parameters:
forcedApplyDate
- The date when the maintenance action will be automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, anyimmediate
opt-in requests are ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInStatus
The type of opt-in request that has been received for the resource.
- Parameters:
optInStatus
- 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 will be applied to the resource. This date takes into account opt-in requests received from the
ApplyPendingMaintenanceAction
API operation, and also theAutoAppliedAfterDate
andForcedApplyDate
parameter values. This value is blank if an opt-in request has not been received and nothing has been specified forAutoAppliedAfterDate
orForcedApplyDate
.- Parameters:
currentApplyDate
- The effective date when the pending maintenance action will be applied to the resource. This date takes into account opt-in requests received from theApplyPendingMaintenanceAction
API operation, and also theAutoAppliedAfterDate
andForcedApplyDate
parameter values. This value is blank if an opt-in request has not been received and nothing has been specified forAutoAppliedAfterDate
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.
-