@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutTargetsResultEntry extends Object implements Serializable, Cloneable, StructuredPojo
Represents a target that failed to be added to a rule.
Constructor and Description |
---|
PutTargetsResultEntry() |
Modifier and Type | Method and Description |
---|---|
PutTargetsResultEntry |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code that indicates why the target addition failed.
|
String |
getErrorMessage()
The error message that explains why the target addition failed.
|
String |
getTargetId()
The ID of the target.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code that indicates why the target addition failed.
|
void |
setErrorMessage(String errorMessage)
The error message that explains why the target addition failed.
|
void |
setTargetId(String targetId)
The ID of the target.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutTargetsResultEntry |
withErrorCode(String errorCode)
The error code that indicates why the target addition failed.
|
PutTargetsResultEntry |
withErrorMessage(String errorMessage)
The error message that explains why the target addition failed.
|
PutTargetsResultEntry |
withTargetId(String targetId)
The ID of the target.
|
public void setTargetId(String targetId)
The ID of the target.
targetId
- The ID of the target.public String getTargetId()
The ID of the target.
public PutTargetsResultEntry withTargetId(String targetId)
The ID of the target.
targetId
- The ID of the target.public void setErrorCode(String errorCode)
The error code that indicates why the target addition failed. If the value is
ConcurrentModificationException
, too many requests were made at the same time.
errorCode
- The error code that indicates why the target addition failed. If the value is
ConcurrentModificationException
, too many requests were made at the same time.public String getErrorCode()
The error code that indicates why the target addition failed. If the value is
ConcurrentModificationException
, too many requests were made at the same time.
ConcurrentModificationException
, too many requests were made at the same time.public PutTargetsResultEntry withErrorCode(String errorCode)
The error code that indicates why the target addition failed. If the value is
ConcurrentModificationException
, too many requests were made at the same time.
errorCode
- The error code that indicates why the target addition failed. If the value is
ConcurrentModificationException
, too many requests were made at the same time.public void setErrorMessage(String errorMessage)
The error message that explains why the target addition failed.
errorMessage
- The error message that explains why the target addition failed.public String getErrorMessage()
The error message that explains why the target addition failed.
public PutTargetsResultEntry withErrorMessage(String errorMessage)
The error message that explains why the target addition failed.
errorMessage
- The error message that explains why the target addition failed.public String toString()
toString
in class Object
Object.toString()
public PutTargetsResultEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.