@Generated(value="software.amazon.awssdk:codegen") public final class ExcludePeriodConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExcludePeriodConfiguration.Builder,ExcludePeriodConfiguration>
The exclude period of TimeRangeFilter or RelativeDatesFilter.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExcludePeriodConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
amount()
The amount or number of the exclude period.
|
static ExcludePeriodConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
TimeGranularity |
granularity()
The granularity or unit (day, month, year) of the exclude period.
|
String |
granularityAsString()
The granularity or unit (day, month, year) of the exclude period.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExcludePeriodConfiguration.Builder> |
serializableBuilderClass() |
WidgetStatus |
status()
The status of the exclude period.
|
String |
statusAsString()
The status of the exclude period.
|
ExcludePeriodConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer amount()
The amount or number of the exclude period.
public final TimeGranularity granularity()
The granularity or unit (day, month, year) of the exclude period.
If the service returns an enum value that is not available in the current SDK version, granularity will
return TimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
granularityAsString().
TimeGranularitypublic final String granularityAsString()
The granularity or unit (day, month, year) of the exclude period.
If the service returns an enum value that is not available in the current SDK version, granularity will
return TimeGranularity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
granularityAsString().
TimeGranularitypublic final WidgetStatus status()
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
If the service returns an enum value that is not available in the current SDK version, status will
return WidgetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ENABLED
DISABLED
WidgetStatuspublic final String statusAsString()
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
If the service returns an enum value that is not available in the current SDK version, status will
return WidgetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ENABLED
DISABLED
WidgetStatuspublic ExcludePeriodConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExcludePeriodConfiguration.Builder,ExcludePeriodConfiguration>public static ExcludePeriodConfiguration.Builder builder()
public static Class<? extends ExcludePeriodConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.