@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExcludePeriodConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The exclude period of TimeRangeFilter or RelativeDatesFilter.
| Constructor and Description |
|---|
ExcludePeriodConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ExcludePeriodConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getAmount()
The amount or number of the exclude period.
|
String |
getGranularity()
The granularity or unit (day, month, year) of the exclude period.
|
String |
getStatus()
The status of the exclude period.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAmount(Integer amount)
The amount or number of the exclude period.
|
void |
setGranularity(String granularity)
The granularity or unit (day, month, year) of the exclude period.
|
void |
setStatus(String status)
The status of the exclude period.
|
String |
toString()
Returns a string representation of this object.
|
ExcludePeriodConfiguration |
withAmount(Integer amount)
The amount or number of the exclude period.
|
ExcludePeriodConfiguration |
withGranularity(String granularity)
The granularity or unit (day, month, year) of the exclude period.
|
ExcludePeriodConfiguration |
withGranularity(TimeGranularity granularity)
The granularity or unit (day, month, year) of the exclude period.
|
ExcludePeriodConfiguration |
withStatus(String status)
The status of the exclude period.
|
ExcludePeriodConfiguration |
withStatus(WidgetStatus status)
The status of the exclude period.
|
public void setAmount(Integer amount)
The amount or number of the exclude period.
amount - The amount or number of the exclude period.public Integer getAmount()
The amount or number of the exclude period.
public ExcludePeriodConfiguration withAmount(Integer amount)
The amount or number of the exclude period.
amount - The amount or number of the exclude period.public void setGranularity(String granularity)
The granularity or unit (day, month, year) of the exclude period.
granularity - The granularity or unit (day, month, year) of the exclude period.TimeGranularitypublic String getGranularity()
The granularity or unit (day, month, year) of the exclude period.
TimeGranularitypublic ExcludePeriodConfiguration withGranularity(String granularity)
The granularity or unit (day, month, year) of the exclude period.
granularity - The granularity or unit (day, month, year) of the exclude period.TimeGranularitypublic ExcludePeriodConfiguration withGranularity(TimeGranularity granularity)
The granularity or unit (day, month, year) of the exclude period.
granularity - The granularity or unit (day, month, year) of the exclude period.TimeGranularitypublic void setStatus(String status)
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
status - The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
WidgetStatuspublic String getStatus()
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
ENABLED
DISABLED
WidgetStatuspublic ExcludePeriodConfiguration withStatus(String status)
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
status - The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
WidgetStatuspublic ExcludePeriodConfiguration withStatus(WidgetStatus status)
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
status - The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
WidgetStatuspublic String toString()
toString in class ObjectObject.toString()public ExcludePeriodConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.