Class ApplyPendingMaintenanceActionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rds.model.RdsRequest
-
- software.amazon.awssdk.services.rds.model.ApplyPendingMaintenanceActionRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<ApplyPendingMaintenanceActionRequest.Builder,ApplyPendingMaintenanceActionRequest>
@Generated("software.amazon.awssdk:codegen") public final class ApplyPendingMaintenanceActionRequest extends RdsRequest implements ToCopyableBuilder<ApplyPendingMaintenanceActionRequest.Builder,ApplyPendingMaintenanceActionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ApplyPendingMaintenanceActionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
applyAction()
The pending maintenance action to apply to this resource.static ApplyPendingMaintenanceActionRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(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()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceIdentifier
public final 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).
- Returns:
- 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).
-
applyAction
public final String applyAction()
The pending maintenance action to apply to this resource.
Valid Values:
system-update
,db-upgrade
,hardware-maintenance
,ca-certificate-rotation
- Returns:
- The pending maintenance action to apply to this resource.
Valid Values:
system-update
,db-upgrade
,hardware-maintenance
,ca-certificate-rotation
-
optInType
public final 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 existingnext-maintenance
opt-in requests.
- Returns:
- 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 existingnext-maintenance
opt-in requests.
-
-
-
toBuilder
public ApplyPendingMaintenanceActionRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ApplyPendingMaintenanceActionRequest.Builder,ApplyPendingMaintenanceActionRequest>
- Specified by:
toBuilder
in classRdsRequest
-
builder
public static ApplyPendingMaintenanceActionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplyPendingMaintenanceActionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-