@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchModifyClusterSnapshotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchModifyClusterSnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
BatchModifyClusterSnapshotsResult |
clone() |
boolean |
equals(Object obj) |
List<SnapshotErrorMessage> |
getErrors()
A list of any errors returned.
|
List<String> |
getResources()
A list of the snapshots that were modified.
|
int |
hashCode() |
void |
setErrors(Collection<SnapshotErrorMessage> errors)
A list of any errors returned.
|
void |
setResources(Collection<String> resources)
A list of the snapshots that were modified.
|
String |
toString()
Returns a string representation of this object.
|
BatchModifyClusterSnapshotsResult |
withErrors(Collection<SnapshotErrorMessage> errors)
A list of any errors returned.
|
BatchModifyClusterSnapshotsResult |
withErrors(SnapshotErrorMessage... errors)
A list of any errors returned.
|
BatchModifyClusterSnapshotsResult |
withResources(Collection<String> resources)
A list of the snapshots that were modified.
|
BatchModifyClusterSnapshotsResult |
withResources(String... resources)
A list of the snapshots that were modified.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getResources()
A list of the snapshots that were modified.
public void setResources(Collection<String> resources)
A list of the snapshots that were modified.
resources
- A list of the snapshots that were modified.public BatchModifyClusterSnapshotsResult withResources(String... resources)
A list of the snapshots that were modified.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- A list of the snapshots that were modified.public BatchModifyClusterSnapshotsResult withResources(Collection<String> resources)
A list of the snapshots that were modified.
resources
- A list of the snapshots that were modified.public List<SnapshotErrorMessage> getErrors()
A list of any errors returned.
public void setErrors(Collection<SnapshotErrorMessage> errors)
A list of any errors returned.
errors
- A list of any errors returned.public BatchModifyClusterSnapshotsResult withErrors(SnapshotErrorMessage... errors)
A list of any errors returned.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of any errors returned.public BatchModifyClusterSnapshotsResult withErrors(Collection<SnapshotErrorMessage> errors)
A list of any errors returned.
errors
- A list of any errors returned.public String toString()
toString
in class Object
Object.toString()
public BatchModifyClusterSnapshotsResult clone()