@Generated(value="software.amazon.awssdk:codegen") public final class ApplyPendingMaintenanceActionRequest extends RdsRequest implements ToCopyableBuilder<ApplyPendingMaintenanceActionRequest.Builder,ApplyPendingMaintenanceActionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ApplyPendingMaintenanceActionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
applyAction()
The pending maintenance action to apply to this resource.
|
static ApplyPendingMaintenanceActionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
optInType()
A value that specifies the type of opt-in request, or undoes an opt-in request.
|
String |
resourceIdentifier()
The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ApplyPendingMaintenanceActionRequest.Builder> |
serializableBuilderClass() |
ApplyPendingMaintenanceActionRequest.Builder |
toBuilder() |
String |
toString() |
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String resourceIdentifier()
The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
public String applyAction()
The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
Valid values: system-update
, db-upgrade
public String optInType()
A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type
immediate
can't be undone.
Valid values:
immediate
- Apply the maintenance action immediately.
next-maintenance
- Apply the maintenance action during the next maintenance window for the resource.
undo-opt-in
- Cancel any existing next-maintenance
opt-in requests.
immediate
can't be undone.
Valid values:
immediate
- Apply the maintenance action immediately.
next-maintenance
- Apply the maintenance action during the next maintenance window for the
resource.
undo-opt-in
- Cancel any existing next-maintenance
opt-in requests.
public ApplyPendingMaintenanceActionRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ApplyPendingMaintenanceActionRequest.Builder,ApplyPendingMaintenanceActionRequest>
toBuilder
in class RdsRequest
public static ApplyPendingMaintenanceActionRequest.Builder builder()
public static Class<? extends ApplyPendingMaintenanceActionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.