@Generated(value="software.amazon.awssdk:codegen") public final class LookupAttribute extends Object implements StructuredPojo, ToCopyableBuilder<LookupAttribute.Builder,LookupAttribute>
Specifies an attribute and value that filter the events returned.
Modifier and Type | Class and Description |
---|---|
static interface |
LookupAttribute.Builder |
Modifier and Type | Method and Description |
---|---|
LookupAttributeKey |
attributeKey()
Specifies an attribute on which to filter the events returned.
|
String |
attributeKeyAsString()
Specifies an attribute on which to filter the events returned.
|
String |
attributeValue()
Specifies a value for the specified AttributeKey.
|
static LookupAttribute.Builder |
builder() |
boolean |
equals(Object obj) |
<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 LookupAttribute.Builder> |
serializableBuilderClass() |
LookupAttribute.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public LookupAttributeKey attributeKey()
Specifies an attribute on which to filter the events returned.
If the service returns an enum value that is not available in the current SDK version, attributeKey
will
return LookupAttributeKey.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
attributeKeyAsString()
.
LookupAttributeKey
public String attributeKeyAsString()
Specifies an attribute on which to filter the events returned.
If the service returns an enum value that is not available in the current SDK version, attributeKey
will
return LookupAttributeKey.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
attributeKeyAsString()
.
LookupAttributeKey
public String attributeValue()
Specifies a value for the specified AttributeKey.
public LookupAttribute.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LookupAttribute.Builder,LookupAttribute>
public static LookupAttribute.Builder builder()
public static Class<? extends LookupAttribute.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.