@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PeriodToDateComputation extends Object implements Serializable, Cloneable, StructuredPojo
The period to date computation configuration.
| Constructor and Description |
|---|
PeriodToDateComputation() |
| Modifier and Type | Method and Description |
|---|---|
PeriodToDateComputation |
clone() |
boolean |
equals(Object obj) |
String |
getComputationId()
The ID for a computation.
|
String |
getName()
The name of a computation.
|
String |
getPeriodTimeGranularity()
The time granularity setup of period to date computation.
|
DimensionField |
getTime()
The time field that is used in a computation.
|
MeasureField |
getValue()
The value field that is used in a computation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComputationId(String computationId)
The ID for a computation.
|
void |
setName(String name)
The name of a computation.
|
void |
setPeriodTimeGranularity(String periodTimeGranularity)
The time granularity setup of period to date computation.
|
void |
setTime(DimensionField time)
The time field that is used in a computation.
|
void |
setValue(MeasureField value)
The value field that is used in a computation.
|
String |
toString()
Returns a string representation of this object.
|
PeriodToDateComputation |
withComputationId(String computationId)
The ID for a computation.
|
PeriodToDateComputation |
withName(String name)
The name of a computation.
|
PeriodToDateComputation |
withPeriodTimeGranularity(String periodTimeGranularity)
The time granularity setup of period to date computation.
|
PeriodToDateComputation |
withPeriodTimeGranularity(TimeGranularity periodTimeGranularity)
The time granularity setup of period to date computation.
|
PeriodToDateComputation |
withTime(DimensionField time)
The time field that is used in a computation.
|
PeriodToDateComputation |
withValue(MeasureField value)
The value field that is used in a computation.
|
public void setComputationId(String computationId)
The ID for a computation.
computationId - The ID for a computation.public String getComputationId()
The ID for a computation.
public PeriodToDateComputation withComputationId(String computationId)
The ID for a computation.
computationId - The ID for a computation.public void setName(String name)
The name of a computation.
name - The name of a computation.public String getName()
The name of a computation.
public PeriodToDateComputation withName(String name)
The name of a computation.
name - The name of a computation.public void setTime(DimensionField time)
The time field that is used in a computation.
time - The time field that is used in a computation.public DimensionField getTime()
The time field that is used in a computation.
public PeriodToDateComputation withTime(DimensionField time)
The time field that is used in a computation.
time - The time field that is used in a computation.public void setValue(MeasureField value)
The value field that is used in a computation.
value - The value field that is used in a computation.public MeasureField getValue()
The value field that is used in a computation.
public PeriodToDateComputation withValue(MeasureField value)
The value field that is used in a computation.
value - The value field that is used in a computation.public void setPeriodTimeGranularity(String periodTimeGranularity)
The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
periodTimeGranularity - The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
TimeGranularitypublic String getPeriodTimeGranularity()
The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
YEAR: Year to date.
MONTH: Month to date.
TimeGranularitypublic PeriodToDateComputation withPeriodTimeGranularity(String periodTimeGranularity)
The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
periodTimeGranularity - The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
TimeGranularitypublic PeriodToDateComputation withPeriodTimeGranularity(TimeGranularity periodTimeGranularity)
The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
periodTimeGranularity - The time granularity setup of period to date computation. Choose from the following options:
YEAR: Year to date.
MONTH: Month to date.
TimeGranularitypublic String toString()
toString in class ObjectObject.toString()public PeriodToDateComputation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.