@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlatformFilter extends Object implements Serializable, Cloneable
Specify criteria to restrict the results when listing custom platforms.
The filter is evaluated as the expression:
Type Operator Values[i]
| Constructor and Description |
|---|
PlatformFilter() |
| Modifier and Type | Method and Description |
|---|---|
PlatformFilter |
clone() |
boolean |
equals(Object obj) |
String |
getOperator()
The operator to apply to the
Type with each of the Values. |
String |
getType()
The custom platform attribute to which the filter values are applied.
|
List<String> |
getValues()
The list of values applied to the custom platform attribute.
|
int |
hashCode() |
void |
setOperator(String operator)
The operator to apply to the
Type with each of the Values. |
void |
setType(String type)
The custom platform attribute to which the filter values are applied.
|
void |
setValues(Collection<String> values)
The list of values applied to the custom platform attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PlatformFilter |
withOperator(String operator)
The operator to apply to the
Type with each of the Values. |
PlatformFilter |
withType(String type)
The custom platform attribute to which the filter values are applied.
|
PlatformFilter |
withValues(Collection<String> values)
The list of values applied to the custom platform attribute.
|
PlatformFilter |
withValues(String... values)
The list of values applied to the custom platform attribute.
|
public void setType(String type)
The custom platform attribute to which the filter values are applied.
Valid Values: PlatformName | PlatformVersion | PlatformStatus |
PlatformOwner
type - The custom platform attribute to which the filter values are applied.
Valid Values: PlatformName | PlatformVersion | PlatformStatus |
PlatformOwner
public String getType()
The custom platform attribute to which the filter values are applied.
Valid Values: PlatformName | PlatformVersion | PlatformStatus |
PlatformOwner
Valid Values: PlatformName | PlatformVersion | PlatformStatus |
PlatformOwner
public PlatformFilter withType(String type)
The custom platform attribute to which the filter values are applied.
Valid Values: PlatformName | PlatformVersion | PlatformStatus |
PlatformOwner
type - The custom platform attribute to which the filter values are applied.
Valid Values: PlatformName | PlatformVersion | PlatformStatus |
PlatformOwner
public void setOperator(String operator)
The operator to apply to the Type with each of the Values.
Valid Values: = (equal to) | != (not equal to) | < (less than) |
<= (less than or equal to) | > (greater than) | >= (greater than
or equal to) | contains | begins_with | ends_with
operator - The operator to apply to the Type with each of the Values.
Valid Values: = (equal to) | != (not equal to) | < (less than) |
<= (less than or equal to) | > (greater than) | >=
(greater than or equal to) | contains | begins_with | ends_with
public String getOperator()
The operator to apply to the Type with each of the Values.
Valid Values: = (equal to) | != (not equal to) | < (less than) |
<= (less than or equal to) | > (greater than) | >= (greater than
or equal to) | contains | begins_with | ends_with
Type with each of the Values.
Valid Values: = (equal to) | != (not equal to) | < (less than)
| <= (less than or equal to) | > (greater than) | >=
(greater than or equal to) | contains | begins_with | ends_with
public PlatformFilter withOperator(String operator)
The operator to apply to the Type with each of the Values.
Valid Values: = (equal to) | != (not equal to) | < (less than) |
<= (less than or equal to) | > (greater than) | >= (greater than
or equal to) | contains | begins_with | ends_with
operator - The operator to apply to the Type with each of the Values.
Valid Values: = (equal to) | != (not equal to) | < (less than) |
<= (less than or equal to) | > (greater than) | >=
(greater than or equal to) | contains | begins_with | ends_with
public List<String> getValues()
The list of values applied to the custom platform attribute.
public void setValues(Collection<String> values)
The list of values applied to the custom platform attribute.
values - The list of values applied to the custom platform attribute.public PlatformFilter withValues(String... values)
The list of values applied to the custom platform attribute.
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 list of values applied to the custom platform attribute.public PlatformFilter withValues(Collection<String> values)
The list of values applied to the custom platform attribute.
values - The list of values applied to the custom platform attribute.public String toString()
toString in class ObjectObject.toString()public PlatformFilter clone()
Copyright © 2018. All rights reserved.