@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTarget extends Object implements Serializable, Cloneable
A maintenance track that you can switch the current track to.
Constructor and Description |
---|
UpdateTarget() |
Modifier and Type | Method and Description |
---|---|
UpdateTarget |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseVersion()
The cluster version for the new maintenance track.
|
String |
getMaintenanceTrackName()
The name of the new maintenance track.
|
List<SupportedOperation> |
getSupportedOperations()
A list of operations supported by the maintenance track.
|
int |
hashCode() |
void |
setDatabaseVersion(String databaseVersion)
The cluster version for the new maintenance track.
|
void |
setMaintenanceTrackName(String maintenanceTrackName)
The name of the new maintenance track.
|
void |
setSupportedOperations(Collection<SupportedOperation> supportedOperations)
A list of operations supported by the maintenance track.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTarget |
withDatabaseVersion(String databaseVersion)
The cluster version for the new maintenance track.
|
UpdateTarget |
withMaintenanceTrackName(String maintenanceTrackName)
The name of the new maintenance track.
|
UpdateTarget |
withSupportedOperations(Collection<SupportedOperation> supportedOperations)
A list of operations supported by the maintenance track.
|
UpdateTarget |
withSupportedOperations(SupportedOperation... supportedOperations)
A list of operations supported by the maintenance track.
|
public void setMaintenanceTrackName(String maintenanceTrackName)
The name of the new maintenance track.
maintenanceTrackName
- The name of the new maintenance track.public String getMaintenanceTrackName()
The name of the new maintenance track.
public UpdateTarget withMaintenanceTrackName(String maintenanceTrackName)
The name of the new maintenance track.
maintenanceTrackName
- The name of the new maintenance track.public void setDatabaseVersion(String databaseVersion)
The cluster version for the new maintenance track.
databaseVersion
- The cluster version for the new maintenance track.public String getDatabaseVersion()
The cluster version for the new maintenance track.
public UpdateTarget withDatabaseVersion(String databaseVersion)
The cluster version for the new maintenance track.
databaseVersion
- The cluster version for the new maintenance track.public List<SupportedOperation> getSupportedOperations()
A list of operations supported by the maintenance track.
public void setSupportedOperations(Collection<SupportedOperation> supportedOperations)
A list of operations supported by the maintenance track.
supportedOperations
- A list of operations supported by the maintenance track.public UpdateTarget withSupportedOperations(SupportedOperation... supportedOperations)
A list of operations supported by the maintenance track.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedOperations(java.util.Collection)
or withSupportedOperations(java.util.Collection)
if you want to override the existing values.
supportedOperations
- A list of operations supported by the maintenance track.public UpdateTarget withSupportedOperations(Collection<SupportedOperation> supportedOperations)
A list of operations supported by the maintenance track.
supportedOperations
- A list of operations supported by the maintenance track.public String toString()
toString
in class Object
Object.toString()
public UpdateTarget clone()