Class PendingMaintenanceAction
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.PendingMaintenanceAction
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>
@Generated("software.amazon.awssdk:codegen") public final class PendingMaintenanceAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>
Provides information about a pending maintenance action for a resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PendingMaintenanceAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
action()
The type of pending maintenance action that is available for the resource.Instant
autoAppliedAfterDate()
The date of the maintenance window when the action is applied.static PendingMaintenanceAction.Builder
builder()
Instant
currentApplyDate()
The effective date when the pending maintenance action is applied to the resource.String
description()
A description providing more detail about the maintenance action.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
Instant
forcedApplyDate()
The date when the maintenance action is automatically applied.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
optInStatus()
Indicates the type of opt-in request that has been received for the resource.List<SdkField<?>>
sdkFields()
static Class<? extends PendingMaintenanceAction.Builder>
serializableBuilderClass()
PendingMaintenanceAction.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
action
public final String 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
.- Returns:
- The type of pending maintenance action that is available for the resource. Valid actions are
system-update
,db-upgrade
,hardware-maintenance
, andca-certificate-rotation
.
-
autoAppliedAfterDate
public final 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.
- Returns:
- 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.
-
forcedApplyDate
public final 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.
- Returns:
- 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.
-
optInStatus
public final String optInStatus()
Indicates the type of opt-in request that has been received for the resource.
- Returns:
- Indicates the type of opt-in request that has been received for the resource.
-
currentApplyDate
public final 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
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
.- Returns:
- 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
.
-
description
public final String description()
A description providing more detail about the maintenance action.
- Returns:
- A description providing more detail about the maintenance action.
-
toBuilder
public PendingMaintenanceAction.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>
-
builder
public static PendingMaintenanceAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends PendingMaintenanceAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-