Class PendingMaintenanceAction
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>
Provides information about a pending maintenance action for a resource.
- 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 applied.builder()final InstantThe effective date when the pending maintenance action is 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 is automatically applied.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringIndicates the 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.
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
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
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
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
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
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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-