@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteConnectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchDeleteConnectionResult() |
Modifier and Type | Method and Description |
---|---|
BatchDeleteConnectionResult |
addErrorsEntry(String key,
ErrorDetail value)
Add a single Errors entry
|
BatchDeleteConnectionResult |
clearErrorsEntries()
Removes all the entries added into Errors.
|
BatchDeleteConnectionResult |
clone() |
boolean |
equals(Object obj) |
Map<String,ErrorDetail> |
getErrors()
A map of the names of connections that were not successfully deleted to error details.
|
List<String> |
getSucceeded()
A list of names of the connection definitions that were successfully deleted.
|
int |
hashCode() |
void |
setErrors(Map<String,ErrorDetail> errors)
A map of the names of connections that were not successfully deleted to error details.
|
void |
setSucceeded(Collection<String> succeeded)
A list of names of the connection definitions that were successfully deleted.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteConnectionResult |
withErrors(Map<String,ErrorDetail> errors)
A map of the names of connections that were not successfully deleted to error details.
|
BatchDeleteConnectionResult |
withSucceeded(Collection<String> succeeded)
A list of names of the connection definitions that were successfully deleted.
|
BatchDeleteConnectionResult |
withSucceeded(String... succeeded)
A list of names of the connection definitions that were successfully deleted.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getSucceeded()
A list of names of the connection definitions that were successfully deleted.
public void setSucceeded(Collection<String> succeeded)
A list of names of the connection definitions that were successfully deleted.
succeeded
- A list of names of the connection definitions that were successfully deleted.public BatchDeleteConnectionResult withSucceeded(String... succeeded)
A list of names of the connection definitions that were successfully deleted.
NOTE: This method appends the values to the existing list (if any). Use
setSucceeded(java.util.Collection)
or withSucceeded(java.util.Collection)
if you want to
override the existing values.
succeeded
- A list of names of the connection definitions that were successfully deleted.public BatchDeleteConnectionResult withSucceeded(Collection<String> succeeded)
A list of names of the connection definitions that were successfully deleted.
succeeded
- A list of names of the connection definitions that were successfully deleted.public Map<String,ErrorDetail> getErrors()
A map of the names of connections that were not successfully deleted to error details.
public void setErrors(Map<String,ErrorDetail> errors)
A map of the names of connections that were not successfully deleted to error details.
errors
- A map of the names of connections that were not successfully deleted to error details.public BatchDeleteConnectionResult withErrors(Map<String,ErrorDetail> errors)
A map of the names of connections that were not successfully deleted to error details.
errors
- A map of the names of connections that were not successfully deleted to error details.public BatchDeleteConnectionResult addErrorsEntry(String key, ErrorDetail value)
public BatchDeleteConnectionResult clearErrorsEntries()
public String toString()
toString
in class Object
Object.toString()
public BatchDeleteConnectionResult clone()