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 String
action()
The type of pending maintenance action that is available for the resource.final Instant
The date of the maintenance window when the action is to be applied.builder()
final Instant
The effective date when the pending maintenance action will be applied to the resource.final String
A description providing more detail about the maintenance action.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Instant
The date when the maintenance action will be automatically applied.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
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 String
toString()
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-maintenance
opt-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-maintenance
opt-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
immediate
opt-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
immediate
opt-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
ApplyPendingMaintenanceAction
API operation, and also theAutoAppliedAfterDate
andForcedApplyDate
parameter values. This value is blank if an opt-in request has not been received and nothing has been specified forAutoAppliedAfterDate
orForcedApplyDate
.- 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
ApplyPendingMaintenanceAction
API operation, and also theAutoAppliedAfterDate
andForcedApplyDate
parameter values. This value is blank if an opt-in request has not been received and nothing has been specified forAutoAppliedAfterDate
orForcedApplyDate
.
-
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 interfaceToCopyableBuilder<PendingMaintenanceAction.Builder,
PendingMaintenanceAction> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-