@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.TimeGranularity
public String getGranularity()
The granularity or unit (day, month, year) of the exclude period.
TimeGranularity
public 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.TimeGranularity
public 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.TimeGranularity
public 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
WidgetStatus
public String getStatus()
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
ENABLED
DISABLED
WidgetStatus
public 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
WidgetStatus
public 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
WidgetStatus
public String toString()
toString
in class Object
Object.toString()
public ExcludePeriodConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.