@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) |
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.OpsItemRelatedItemsFilterKeypublic String getKey()
The name of the filter key. Supported values include ResourceUri, ResourceType, or
AssociationId.
ResourceUri, ResourceType,
or AssociationId.OpsItemRelatedItemsFilterKeypublic 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.OpsItemRelatedItemsFilterKeypublic 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.OpsItemRelatedItemsFilterKeypublic 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.OpsItemRelatedItemsFilterOperatorpublic String getOperator()
The operator used by the filter call. The only supported operator is EQUAL.
EQUAL.OpsItemRelatedItemsFilterOperatorpublic 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.OpsItemRelatedItemsFilterOperatorpublic 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.OpsItemRelatedItemsFilterOperatorpublic String toString()
toString in class ObjectObject.toString()public OpsItemRelatedItemsFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.