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 interfacePendingMaintenanceAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaction()The type of pending maintenance action that is available for the resource.InstantautoAppliedAfterDate()The date of the maintenance window when the action is applied.static PendingMaintenanceAction.Builderbuilder()InstantcurrentApplyDate()The effective date when the pending maintenance action is applied to the resource.Stringdescription()A description providing more detail about the maintenance action.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantforcedApplyDate()The date when the maintenance action is automatically applied.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringoptInStatus()Indicates the type of opt-in request that has been received for the resource.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PendingMaintenanceAction.Builder>serializableBuilderClass()PendingMaintenanceAction.BuildertoBuilder()StringtoString()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.
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:
- 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.
-
-
-
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
ApplyPendingMaintenanceActionAPI, theAutoAppliedAfterDate, and theForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDateorForcedApplyDate.- 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
ApplyPendingMaintenanceActionAPI, theAutoAppliedAfterDate, and theForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDateorForcedApplyDate.
-
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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-