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
-
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 applied.builder()
final Instant
The effective date when the pending maintenance action is 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 is automatically applied.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
Indicates 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 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
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
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 ApplyPendingMaintenanceAction API, the
AutoAppliedAfterDate
, and theForcedApplyDate
. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDate
orForcedApplyDate
.- 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 theForcedApplyDate
. This value is blank if an opt-in request has not been received and nothing has been specified asAutoAppliedAfterDate
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
-