@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpsItemRelatedItemsFilter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter for a specific list of related-item resources.
Constructor and Description |
---|
OpsItemRelatedItemsFilter() |
Modifier and Type | Method and Description |
---|---|
OpsItemRelatedItemsFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter key.
|
String |
getOperator()
The operator used by the filter call.
|
List<String> |
getValues()
The values for the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The name of the filter key.
|
void |
setOperator(String operator)
The operator used by the filter call.
|
void |
setValues(Collection<String> values)
The values for the filter.
|
String |
toString()
Returns a string representation of this object.
|
OpsItemRelatedItemsFilter |
withKey(OpsItemRelatedItemsFilterKey key)
The name of the filter key.
|
OpsItemRelatedItemsFilter |
withKey(String key)
The name of the filter key.
|
OpsItemRelatedItemsFilter |
withOperator(OpsItemRelatedItemsFilterOperator operator)
The operator used by the filter call.
|
OpsItemRelatedItemsFilter |
withOperator(String operator)
The operator used by the filter call.
|
OpsItemRelatedItemsFilter |
withValues(Collection<String> values)
The values for the filter.
|
OpsItemRelatedItemsFilter |
withValues(String... values)
The values for the filter.
|
public void setKey(String key)
The name of the filter key. Supported values include ResourceUri
, ResourceType
, or
AssociationId
.
key
- The name of the filter key. Supported values include ResourceUri
, ResourceType
,
or AssociationId
.OpsItemRelatedItemsFilterKey
public String getKey()
The name of the filter key. Supported values include ResourceUri
, ResourceType
, or
AssociationId
.
ResourceUri
, ResourceType
,
or AssociationId
.OpsItemRelatedItemsFilterKey
public OpsItemRelatedItemsFilter withKey(String key)
The name of the filter key. Supported values include ResourceUri
, ResourceType
, or
AssociationId
.
key
- The name of the filter key. Supported values include ResourceUri
, ResourceType
,
or AssociationId
.OpsItemRelatedItemsFilterKey
public OpsItemRelatedItemsFilter withKey(OpsItemRelatedItemsFilterKey key)
The name of the filter key. Supported values include ResourceUri
, ResourceType
, or
AssociationId
.
key
- The name of the filter key. Supported values include ResourceUri
, ResourceType
,
or AssociationId
.OpsItemRelatedItemsFilterKey
public List<String> getValues()
The values for the filter.
public void setValues(Collection<String> values)
The values for the filter.
values
- The values for the filter.public OpsItemRelatedItemsFilter withValues(String... values)
The values for the filter.
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
- The values for the filter.public OpsItemRelatedItemsFilter withValues(Collection<String> values)
The values for the filter.
values
- The values for the filter.public void setOperator(String operator)
The operator used by the filter call. The only supported operator is EQUAL
.
operator
- The operator used by the filter call. The only supported operator is EQUAL
.OpsItemRelatedItemsFilterOperator
public String getOperator()
The operator used by the filter call. The only supported operator is EQUAL
.
EQUAL
.OpsItemRelatedItemsFilterOperator
public OpsItemRelatedItemsFilter withOperator(String operator)
The operator used by the filter call. The only supported operator is EQUAL
.
operator
- The operator used by the filter call. The only supported operator is EQUAL
.OpsItemRelatedItemsFilterOperator
public OpsItemRelatedItemsFilter withOperator(OpsItemRelatedItemsFilterOperator operator)
The operator used by the filter call. The only supported operator is EQUAL
.
operator
- The operator used by the filter call. The only supported operator is EQUAL
.OpsItemRelatedItemsFilterOperator
public String toString()
toString
in class Object
Object.toString()
public OpsItemRelatedItemsFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.