@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ObjectFilter extends Object implements Serializable, Cloneable, StructuredPojo
The filter applied to ListProfileObjects
response to include profile objects with the specified index
values.
Constructor and Description |
---|
ObjectFilter() |
Modifier and Type | Method and Description |
---|---|
ObjectFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKeyName()
A searchable identifier of a profile object.
|
List<String> |
getValues()
A list of key values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKeyName(String keyName)
A searchable identifier of a profile object.
|
void |
setValues(Collection<String> values)
A list of key values.
|
String |
toString()
Returns a string representation of this object.
|
ObjectFilter |
withKeyName(String keyName)
A searchable identifier of a profile object.
|
ObjectFilter |
withValues(Collection<String> values)
A list of key values.
|
ObjectFilter |
withValues(String... values)
A list of key values.
|
public void setKeyName(String keyName)
A searchable identifier of a profile object. The predefined keys you can use to search for _asset
include: _assetId
, _assetName
, and _serialNumber
. The predefined keys you
can use to search for _case
include: _caseId
. The predefined keys you can use to search
for _order
include: _orderId
.
keyName
- A searchable identifier of a profile object. The predefined keys you can use to search for
_asset
include: _assetId
, _assetName
, and
_serialNumber
. The predefined keys you can use to search for _case
include:
_caseId
. The predefined keys you can use to search for _order
include:
_orderId
.public String getKeyName()
A searchable identifier of a profile object. The predefined keys you can use to search for _asset
include: _assetId
, _assetName
, and _serialNumber
. The predefined keys you
can use to search for _case
include: _caseId
. The predefined keys you can use to search
for _order
include: _orderId
.
_asset
include: _assetId
, _assetName
, and
_serialNumber
. The predefined keys you can use to search for _case
include:
_caseId
. The predefined keys you can use to search for _order
include:
_orderId
.public ObjectFilter withKeyName(String keyName)
A searchable identifier of a profile object. The predefined keys you can use to search for _asset
include: _assetId
, _assetName
, and _serialNumber
. The predefined keys you
can use to search for _case
include: _caseId
. The predefined keys you can use to search
for _order
include: _orderId
.
keyName
- A searchable identifier of a profile object. The predefined keys you can use to search for
_asset
include: _assetId
, _assetName
, and
_serialNumber
. The predefined keys you can use to search for _case
include:
_caseId
. The predefined keys you can use to search for _order
include:
_orderId
.public void setValues(Collection<String> values)
A list of key values.
values
- A list of key values.public ObjectFilter withValues(String... values)
A list of key values.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- A list of key values.public ObjectFilter withValues(Collection<String> values)
A list of key values.
values
- A list of key values.public String toString()
toString
in class Object
Object.toString()
public ObjectFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.