@Generated(value="software.amazon.awssdk:codegen") public final class PlatformFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PlatformFilter.Builder,PlatformFilter>
Describes criteria to restrict the results when listing platform versions.
The filter is evaluated as follows: Type Operator Values[1]
| Modifier and Type | Class and Description |
|---|---|
static interface |
PlatformFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PlatformFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasValues()
Returns true if the Values property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
operator()
The operator to apply to the
Type with each of the Values. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PlatformFilter.Builder> |
serializableBuilderClass() |
PlatformFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The platform version attribute to which the filter values are applied.
|
List<String> |
values()
The list of values applied to the filtering platform version attribute.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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
Valid values: PlatformName | PlatformVersion | PlatformStatus |
PlatformBranchName | PlatformLifecycleState | PlatformOwner |
SupportedTier | SupportedAddon | ProgrammingLanguageName |
OperatingSystemName
public final String operator()
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 final boolean hasValues()
public final List<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
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasValues() to see if a value was sent in this field.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PlatformFilter.Builder,PlatformFilter>public static PlatformFilter.Builder builder()
public static Class<? extends PlatformFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.