@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoveTargetsResultEntry extends Object implements Serializable, Cloneable, StructuredPojo
Represents a target that failed to be removed from a rule.
Constructor and Description |
---|
RemoveTargetsResultEntry() |
Modifier and Type | Method and Description |
---|---|
RemoveTargetsResultEntry |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code that indicates why the target removal failed.
|
String |
getErrorMessage()
The error message that explains why the target removal 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 removal failed.
|
void |
setErrorMessage(String errorMessage)
The error message that explains why the target removal failed.
|
void |
setTargetId(String targetId)
The ID of the target.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RemoveTargetsResultEntry |
withErrorCode(String errorCode)
The error code that indicates why the target removal failed.
|
RemoveTargetsResultEntry |
withErrorMessage(String errorMessage)
The error message that explains why the target removal failed.
|
RemoveTargetsResultEntry |
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 RemoveTargetsResultEntry 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 removal failed. If the value is
ConcurrentModificationException
, too many requests were made at the same time.
errorCode
- The error code that indicates why the target removal 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 removal 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 RemoveTargetsResultEntry withErrorCode(String errorCode)
The error code that indicates why the target removal failed. If the value is
ConcurrentModificationException
, too many requests were made at the same time.
errorCode
- The error code that indicates why the target removal 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 removal failed.
errorMessage
- The error message that explains why the target removal failed.public String getErrorMessage()
The error message that explains why the target removal failed.
public RemoveTargetsResultEntry withErrorMessage(String errorMessage)
The error message that explains why the target removal failed.
errorMessage
- The error message that explains why the target removal failed.public String toString()
toString
in class Object
Object.toString()
public RemoveTargetsResultEntry 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.