@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlatformFilter extends Object implements Serializable, Cloneable
Describes criteria to restrict the results when listing platform versions.
The filter is evaluated as follows: Type Operator Values[1]
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 platform version attribute to which the filter values are applied.
|
List<String> |
getValues()
The list of values applied to the filtering platform version attribute.
|
int |
hashCode() |
void |
setOperator(String operator)
The operator to apply to the
Type with each of the Values . |
void |
setType(String type)
The platform version attribute to which the filter values are applied.
|
void |
setValues(Collection<String> values)
The list of values applied to the filtering platform version attribute.
|
String |
toString()
Returns a string representation of this object.
|
PlatformFilter |
withOperator(String operator)
The operator to apply to the
Type with each of the Values . |
PlatformFilter |
withType(String type)
The platform version attribute to which the filter values are applied.
|
PlatformFilter |
withValues(Collection<String> values)
The list of values applied to the filtering platform version attribute.
|
PlatformFilter |
withValues(String... values)
The list of values applied to the filtering platform version attribute.
|
public void setType(String type)
The platform version attribute to which the filter values are applied.
Valid values: PlatformName
| PlatformVersion
| PlatformStatus
|
PlatformBranchName
| PlatformLifecycleState
| PlatformOwner
|
SupportedTier
| SupportedAddon
| ProgrammingLanguageName
|
OperatingSystemName
type
- The platform version attribute to which the filter values are applied.
Valid values: PlatformName
| PlatformVersion
| PlatformStatus
|
PlatformBranchName
| PlatformLifecycleState
| PlatformOwner
|
SupportedTier
| SupportedAddon
| ProgrammingLanguageName
|
OperatingSystemName
public String getType()
The platform version attribute to which the filter values are applied.
Valid values: PlatformName
| PlatformVersion
| PlatformStatus
|
PlatformBranchName
| PlatformLifecycleState
| PlatformOwner
|
SupportedTier
| SupportedAddon
| ProgrammingLanguageName
|
OperatingSystemName
Valid values: PlatformName
| PlatformVersion
| PlatformStatus
|
PlatformBranchName
| PlatformLifecycleState
| PlatformOwner
|
SupportedTier
| SupportedAddon
| ProgrammingLanguageName
|
OperatingSystemName
public PlatformFilter withType(String type)
The platform version attribute to which the filter values are applied.
Valid values: PlatformName
| PlatformVersion
| PlatformStatus
|
PlatformBranchName
| PlatformLifecycleState
| PlatformOwner
|
SupportedTier
| SupportedAddon
| ProgrammingLanguageName
|
OperatingSystemName
type
- The platform version attribute to which the filter values are applied.
Valid values: PlatformName
| PlatformVersion
| PlatformStatus
|
PlatformBranchName
| PlatformLifecycleState
| PlatformOwner
|
SupportedTier
| SupportedAddon
| ProgrammingLanguageName
|
OperatingSystemName
public void setOperator(String operator)
The operator to apply to the Type
with each of the Values
.
Valid values: =
| !=
| <
| <=
| >
|
>=
| contains
| begins_with
| ends_with
operator
- The operator to apply to the Type
with each of the Values
.
Valid values: =
| !=
| <
| <=
|
>
| >=
| contains
| begins_with
|
ends_with
public String getOperator()
The operator to apply to the Type
with each of the Values
.
Valid values: =
| !=
| <
| <=
| >
|
>=
| contains
| begins_with
| ends_with
Type
with each of the Values
.
Valid values: =
| !=
| <
| <=
|
>
| >=
| contains
| begins_with
|
ends_with
public PlatformFilter withOperator(String operator)
The operator to apply to the Type
with each of the Values
.
Valid values: =
| !=
| <
| <=
| >
|
>=
| contains
| begins_with
| ends_with
operator
- The operator to apply to the Type
with each of the Values
.
Valid values: =
| !=
| <
| <=
|
>
| >=
| contains
| begins_with
|
ends_with
public List<String> getValues()
The list of values applied to the filtering platform version attribute. Only one value is supported for all current operators.
The following list shows valid filter values for some filter attributes.
PlatformStatus
: Creating
| Failed
| Ready
|
Deleting
| Deleted
PlatformLifecycleState
: recommended
SupportedTier
: WebServer/Standard
| Worker/SQS/HTTP
SupportedAddon
: Log/S3
| Monitoring/Healthd
|
WorkerDaemon/SQSD
The following list shows valid filter values for some filter attributes.
PlatformStatus
: Creating
| Failed
| Ready
|
Deleting
| Deleted
PlatformLifecycleState
: recommended
SupportedTier
: WebServer/Standard
| Worker/SQS/HTTP
SupportedAddon
: Log/S3
| Monitoring/Healthd
|
WorkerDaemon/SQSD
public void setValues(Collection<String> values)
The list of values applied to the filtering platform version attribute. Only one value is supported for all current operators.
The following list shows valid filter values for some filter attributes.
PlatformStatus
: Creating
| Failed
| Ready
|
Deleting
| Deleted
PlatformLifecycleState
: recommended
SupportedTier
: WebServer/Standard
| Worker/SQS/HTTP
SupportedAddon
: Log/S3
| Monitoring/Healthd
|
WorkerDaemon/SQSD
values
- The list of values applied to the filtering platform version attribute. Only one value is supported for
all current operators.
The following list shows valid filter values for some filter attributes.
PlatformStatus
: Creating
| Failed
| Ready
|
Deleting
| Deleted
PlatformLifecycleState
: recommended
SupportedTier
: WebServer/Standard
| Worker/SQS/HTTP
SupportedAddon
: Log/S3
| Monitoring/Healthd
|
WorkerDaemon/SQSD
public PlatformFilter withValues(String... values)
The list of values applied to the filtering platform version attribute. Only one value is supported for all current operators.
The following list shows valid filter values for some filter attributes.
PlatformStatus
: Creating
| Failed
| Ready
|
Deleting
| Deleted
PlatformLifecycleState
: recommended
SupportedTier
: WebServer/Standard
| Worker/SQS/HTTP
SupportedAddon
: Log/S3
| Monitoring/Healthd
|
WorkerDaemon/SQSD
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 filtering platform version attribute. Only one value is supported for
all current operators.
The following list shows valid filter values for some filter attributes.
PlatformStatus
: Creating
| Failed
| Ready
|
Deleting
| Deleted
PlatformLifecycleState
: recommended
SupportedTier
: WebServer/Standard
| Worker/SQS/HTTP
SupportedAddon
: Log/S3
| Monitoring/Healthd
|
WorkerDaemon/SQSD
public PlatformFilter withValues(Collection<String> values)
The list of values applied to the filtering platform version attribute. Only one value is supported for all current operators.
The following list shows valid filter values for some filter attributes.
PlatformStatus
: Creating
| Failed
| Ready
|
Deleting
| Deleted
PlatformLifecycleState
: recommended
SupportedTier
: WebServer/Standard
| Worker/SQS/HTTP
SupportedAddon
: Log/S3
| Monitoring/Healthd
|
WorkerDaemon/SQSD
values
- The list of values applied to the filtering platform version attribute. Only one value is supported for
all current operators.
The following list shows valid filter values for some filter attributes.
PlatformStatus
: Creating
| Failed
| Ready
|
Deleting
| Deleted
PlatformLifecycleState
: recommended
SupportedTier
: WebServer/Standard
| Worker/SQS/HTTP
SupportedAddon
: Log/S3
| Monitoring/Healthd
|
WorkerDaemon/SQSD
public String toString()
toString
in class Object
Object.toString()
public PlatformFilter clone()