Class PendingMaintenanceAction
- All Implemented Interfaces:
Serializable,SdkPojo,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 DescribePendingMaintenanceActions operation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringaction()The type of pending maintenance action that is available for the resource.final InstantThe date of the maintenance window when the action is to be applied.builder()final InstantThe effective date when the pending maintenance action will be applied to the resource.final StringA description providing more detail about the maintenance action.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final InstantThe date when the maintenance action will be automatically applied.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe type of opt-in request that has been received for the resource.static Class<? extends PendingMaintenanceAction.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
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
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
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
A description providing more detail about the maintenance action.
- Returns:
- A description providing more detail about the maintenance action.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-