@Generated(value="software.amazon.awssdk:codegen") public class PutTargetsResultEntry extends Object implements StructuredPojo, ToCopyableBuilder<PutTargetsResultEntry.Builder,PutTargetsResultEntry>
Represents a target that failed to be added to a rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutTargetsResultEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutTargetsResultEntry.Builder |
builder() |
boolean |
equals(Object obj) |
String |
errorCode()
The error code that indicates why the target addition failed.
|
String |
errorMessage()
The error message that explains why the target addition failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends PutTargetsResultEntry.Builder> |
serializableBuilderClass() |
String |
targetId()
The ID of the target.
|
PutTargetsResultEntry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String targetId()
The ID of the target.
public 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.
ConcurrentModificationException, too many requests were made at the same time.public String errorMessage()
The error message that explains why the target addition failed.
public PutTargetsResultEntry.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<PutTargetsResultEntry.Builder,PutTargetsResultEntry>public static PutTargetsResultEntry.Builder builder()
public static Class<? extends PutTargetsResultEntry.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.