Class PendingMaintenanceAction

java.lang.Object
software.amazon.awssdk.services.neptune.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:
  • Method Details

    • 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 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.

      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. If this date is specified, any next-maintenance opt-in requests are ignored.
    • forcedApplyDate

      public final Instant forcedApplyDate()

      The date when the maintenance action is 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.

      Returns:
      The date when the maintenance action is 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.
    • 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, the AutoAppliedAfterDate , and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.

      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, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.
    • 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

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>
      Returns:
      a builder for type T
    • builder

      public static PendingMaintenanceAction.Builder builder()
    • serializableBuilderClass

      public static Class<? extends PendingMaintenanceAction.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.