@Generated(value="software.amazon.awssdk:codegen") public final class ModifyDbSnapshotRequest extends RdsRequest implements ToCopyableBuilder<ModifyDbSnapshotRequest.Builder,ModifyDbSnapshotRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ModifyDbSnapshotRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ModifyDbSnapshotRequest.Builder |
builder() |
String |
dbSnapshotIdentifier()
The identifier of the DB snapshot to modify.
|
String |
engineVersion()
The engine version to upgrade the DB snapshot to.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
optionGroupName()
The option group to identify with the upgraded DB snapshot.
|
static Class<? extends ModifyDbSnapshotRequest.Builder> |
serializableBuilderClass() |
ModifyDbSnapshotRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String dbSnapshotIdentifier()
The identifier of the DB snapshot to modify.
public String engineVersion()
The engine version to upgrade the DB snapshot to.
The following are the database engines and engine versions that are available when you upgrade a DB snapshot.
MySQL
5.5.46
(supported for 5.1 DB snapshots)
Oracle
12.1.0.2.v8
(supported for 12.1.0.1 DB snapshots)
11.2.0.4.v12
(supported for 11.2.0.2 DB snapshots)
11.2.0.4.v11
(supported for 11.2.0.3 DB snapshots)
The following are the database engines and engine versions that are available when you upgrade a DB snapshot.
MySQL
5.5.46
(supported for 5.1 DB snapshots)
Oracle
12.1.0.2.v8
(supported for 12.1.0.1 DB snapshots)
11.2.0.4.v12
(supported for 11.2.0.2 DB snapshots)
11.2.0.4.v11
(supported for 11.2.0.3 DB snapshots)
public String optionGroupName()
The option group to identify with the upgraded DB snapshot.
You can specify this parameter when you upgrade an Oracle DB snapshot. The same option group considerations apply when upgrading a DB snapshot as when upgrading a DB instance. For more information, see Option Group Considerations.
You can specify this parameter when you upgrade an Oracle DB snapshot. The same option group considerations apply when upgrading a DB snapshot as when upgrading a DB instance. For more information, see Option Group Considerations.
public ModifyDbSnapshotRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyDbSnapshotRequest.Builder,ModifyDbSnapshotRequest>
toBuilder
in class RdsRequest
public static ModifyDbSnapshotRequest.Builder builder()
public static Class<? extends ModifyDbSnapshotRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.