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 interfaceApplyPendingMaintenanceActionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplyAction()The pending maintenance action to apply to this resource.static ApplyPendingMaintenanceActionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringoptInType()A value that specifies the type of opt-in request, or undoes an opt-in request.StringresourceIdentifier()The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ApplyPendingMaintenanceActionRequest.Builder>serializableBuilderClass()ApplyPendingMaintenanceActionRequest.BuildertoBuilder()StringtoString()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:
-
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 pending maintenance action to apply to this resource.
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.
-
-
-
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
immediatecan'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-maintenanceopt-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
immediatecan'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-maintenanceopt-in requests.
-
-
-
toBuilder
public ApplyPendingMaintenanceActionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApplyPendingMaintenanceActionRequest.Builder,ApplyPendingMaintenanceActionRequest>- Specified by:
toBuilderin classRdsRequest
-
builder
public static ApplyPendingMaintenanceActionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplyPendingMaintenanceActionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-