Class ApplyPendingMaintenanceActionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.docdbelastic.model.DocDbElasticRequest
-
- software.amazon.awssdk.services.docdbelastic.model.ApplyPendingMaintenanceActionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ApplyPendingMaintenanceActionRequest.Builder,ApplyPendingMaintenanceActionRequest>
@Generated("software.amazon.awssdk:codegen") public final class ApplyPendingMaintenanceActionRequest extends DocDbElasticRequest 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 the resource.StringapplyOn()A specific date to apply the pending maintenance action.static ApplyPendingMaintenanceActionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OptInTypeoptInType()A value that specifies the type of opt-in request, or undoes an opt-in request.StringoptInTypeAsString()A value that specifies the type of opt-in request, or undoes an opt-in request.StringresourceArn()The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.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
-
applyAction
public final String applyAction()
The pending maintenance action to apply to the resource.
Valid actions are:
-
ENGINE_UPDATE -
ENGINE_UPGRADE -
SECURITY_UPDATE -
OS_UPDATE -
MASTER_USER_PASSWORD_UPDATE
- Returns:
- The pending maintenance action to apply to the resource.
Valid actions are:
-
ENGINE_UPDATE -
ENGINE_UPGRADE -
SECURITY_UPDATE -
OS_UPDATE -
MASTER_USER_PASSWORD_UPDATE
-
-
-
applyOn
public final String applyOn()
A specific date to apply the pending maintenance action. Required if opt-in-type is
APPLY_ON. Format:yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm- Returns:
- A specific date to apply the pending maintenance action. Required if opt-in-type is
APPLY_ON. Format:yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm
-
optInType
public final OptInType 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.If the service returns an enum value that is not available in the current SDK version,
optInTypewill returnOptInType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoptInTypeAsString().- 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. - See Also:
OptInType
-
optInTypeAsString
public final String optInTypeAsString()
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.If the service returns an enum value that is not available in the current SDK version,
optInTypewill returnOptInType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoptInTypeAsString().- 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. - See Also:
OptInType
-
resourceArn
public final String resourceArn()
The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.
- Returns:
- The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.
-
toBuilder
public ApplyPendingMaintenanceActionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApplyPendingMaintenanceActionRequest.Builder,ApplyPendingMaintenanceActionRequest>- Specified by:
toBuilderin classDocDbElasticRequest
-
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
-
-