@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterTargetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RegisterTargetsResult() |
Modifier and Type | Method and Description |
---|---|
RegisterTargetsResult |
clone() |
boolean |
equals(Object obj) |
List<Target> |
getSuccessful()
The targets that were successfully registered.
|
List<TargetFailure> |
getUnsuccessful()
The targets that were not registered.
|
int |
hashCode() |
void |
setSuccessful(Collection<Target> successful)
The targets that were successfully registered.
|
void |
setUnsuccessful(Collection<TargetFailure> unsuccessful)
The targets that were not registered.
|
String |
toString()
Returns a string representation of this object.
|
RegisterTargetsResult |
withSuccessful(Collection<Target> successful)
The targets that were successfully registered.
|
RegisterTargetsResult |
withSuccessful(Target... successful)
The targets that were successfully registered.
|
RegisterTargetsResult |
withUnsuccessful(Collection<TargetFailure> unsuccessful)
The targets that were not registered.
|
RegisterTargetsResult |
withUnsuccessful(TargetFailure... unsuccessful)
The targets that were not registered.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Target> getSuccessful()
The targets that were successfully registered.
public void setSuccessful(Collection<Target> successful)
The targets that were successfully registered.
successful
- The targets that were successfully registered.public RegisterTargetsResult withSuccessful(Target... successful)
The targets that were successfully registered.
NOTE: This method appends the values to the existing list (if any). Use
setSuccessful(java.util.Collection)
or withSuccessful(java.util.Collection)
if you want to
override the existing values.
successful
- The targets that were successfully registered.public RegisterTargetsResult withSuccessful(Collection<Target> successful)
The targets that were successfully registered.
successful
- The targets that were successfully registered.public List<TargetFailure> getUnsuccessful()
The targets that were not registered.
public void setUnsuccessful(Collection<TargetFailure> unsuccessful)
The targets that were not registered.
unsuccessful
- The targets that were not registered.public RegisterTargetsResult withUnsuccessful(TargetFailure... unsuccessful)
The targets that were not registered.
NOTE: This method appends the values to the existing list (if any). Use
setUnsuccessful(java.util.Collection)
or withUnsuccessful(java.util.Collection)
if you want to
override the existing values.
unsuccessful
- The targets that were not registered.public RegisterTargetsResult withUnsuccessful(Collection<TargetFailure> unsuccessful)
The targets that were not registered.
unsuccessful
- The targets that were not registered.public String toString()
toString
in class Object
Object.toString()
public RegisterTargetsResult clone()