@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutTargetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutTargetsResult() |
Modifier and Type | Method and Description |
---|---|
PutTargetsResult |
clone() |
boolean |
equals(Object obj) |
List<PutTargetsResultEntry> |
getFailedEntries()
The failed target entries.
|
Integer |
getFailedEntryCount()
The number of failed entries.
|
int |
hashCode() |
void |
setFailedEntries(Collection<PutTargetsResultEntry> failedEntries)
The failed target entries.
|
void |
setFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
|
String |
toString()
Returns a string representation of this object.
|
PutTargetsResult |
withFailedEntries(Collection<PutTargetsResultEntry> failedEntries)
The failed target entries.
|
PutTargetsResult |
withFailedEntries(PutTargetsResultEntry... failedEntries)
The failed target entries.
|
PutTargetsResult |
withFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
failedEntryCount
- The number of failed entries.public Integer getFailedEntryCount()
The number of failed entries.
public PutTargetsResult withFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
failedEntryCount
- The number of failed entries.public List<PutTargetsResultEntry> getFailedEntries()
The failed target entries.
public void setFailedEntries(Collection<PutTargetsResultEntry> failedEntries)
The failed target entries.
failedEntries
- The failed target entries.public PutTargetsResult withFailedEntries(PutTargetsResultEntry... failedEntries)
The failed target entries.
NOTE: This method appends the values to the existing list (if any). Use
setFailedEntries(java.util.Collection)
or withFailedEntries(java.util.Collection)
if you want
to override the existing values.
failedEntries
- The failed target entries.public PutTargetsResult withFailedEntries(Collection<PutTargetsResultEntry> failedEntries)
The failed target entries.
failedEntries
- The failed target entries.public String toString()
toString
in class Object
Object.toString()
public PutTargetsResult clone()