@Generated(value="software.amazon.awssdk:codegen") public final class TimeSeriesCondition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeSeriesCondition.Builder,TimeSeriesCondition>
Creates a subset of items within an attribute that are modified. For example, you can use this operation to create a
subset of items that cost $5 or less. To do this, you specify "AttributeName": "price",
"AttributeValue": "5", and "Condition": "LESS_THAN". Pair this operation with the
Action operation within the CreateWhatIfForecastRequest$TimeSeriesTransformations operation to define
how the attribute is modified.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeSeriesCondition.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeName()
The item_id, dimension name, IM name, or timestamp that you are modifying.
|
String |
attributeValue()
The value that is applied for the chosen
Condition. |
static TimeSeriesCondition.Builder |
builder() |
Condition |
condition()
The condition to apply.
|
String |
conditionAsString()
The condition to apply.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeSeriesCondition.Builder> |
serializableBuilderClass() |
TimeSeriesCondition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String attributeName()
The item_id, dimension name, IM name, or timestamp that you are modifying.
public final String attributeValue()
The value that is applied for the chosen Condition.
Condition.public final Condition condition()
The condition to apply. Valid values are EQUALS, NOT_EQUALS, LESS_THAN and
GREATER_THAN.
If the service returns an enum value that is not available in the current SDK version, condition will
return Condition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
conditionAsString().
EQUALS, NOT_EQUALS,
LESS_THAN and GREATER_THAN.Conditionpublic final String conditionAsString()
The condition to apply. Valid values are EQUALS, NOT_EQUALS, LESS_THAN and
GREATER_THAN.
If the service returns an enum value that is not available in the current SDK version, condition will
return Condition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
conditionAsString().
EQUALS, NOT_EQUALS,
LESS_THAN and GREATER_THAN.Conditionpublic TimeSeriesCondition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TimeSeriesCondition.Builder,TimeSeriesCondition>public static TimeSeriesCondition.Builder builder()
public static Class<? extends TimeSeriesCondition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.