Class PendingMaintenanceAction
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.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>
Describes a maintenance action pending for an DMS resource, including when and how it will be applied. This data type is a response element to the
DescribePendingMaintenanceActionsoperation.- 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 to be applied.static PendingMaintenanceAction.Builderbuilder()InstantcurrentApplyDate()The effective date when the pending maintenance action will be 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 will be automatically applied.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringoptInStatus()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.
- Returns:
- The type of pending maintenance action that is available for the resource.
-
autoAppliedAfterDate
public final Instant 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-maintenanceopt-in requests are ignored.- Returns:
- 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-maintenanceopt-in requests are ignored.
-
forcedApplyDate
public final Instant 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
immediateopt-in requests are ignored.- Returns:
- 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
immediateopt-in requests are ignored.
-
optInStatus
public final String optInStatus()
The type of opt-in request that has been received for the resource.
- Returns:
- 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 will be applied to the resource. This date takes into account opt-in requests received from the
ApplyPendingMaintenanceActionAPI operation, and also theAutoAppliedAfterDateandForcedApplyDateparameter values. This value is blank if an opt-in request has not been received and nothing has been specified forAutoAppliedAfterDateorForcedApplyDate.- Returns:
- 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
ApplyPendingMaintenanceActionAPI operation, and also theAutoAppliedAfterDateandForcedApplyDateparameter values. This value is blank if an opt-in request has not been received and nothing has been specified forAutoAppliedAfterDateorForcedApplyDate.
-
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
-
-