@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QuotaPeriod extends Object implements Serializable, Cloneable, StructuredPojo
Information about the quota period.
| Constructor and Description |
|---|
QuotaPeriod() |
| Modifier and Type | Method and Description |
|---|---|
QuotaPeriod |
clone() |
boolean |
equals(Object obj) |
String |
getPeriodUnit()
The time unit.
|
Integer |
getPeriodValue()
The value associated with the reported
PeriodUnit. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPeriodUnit(String periodUnit)
The time unit.
|
void |
setPeriodValue(Integer periodValue)
The value associated with the reported
PeriodUnit. |
String |
toString()
Returns a string representation of this object.
|
QuotaPeriod |
withPeriodUnit(PeriodUnit periodUnit)
The time unit.
|
QuotaPeriod |
withPeriodUnit(String periodUnit)
The time unit.
|
QuotaPeriod |
withPeriodValue(Integer periodValue)
The value associated with the reported
PeriodUnit. |
public void setPeriodValue(Integer periodValue)
The value associated with the reported PeriodUnit.
periodValue - The value associated with the reported PeriodUnit.public Integer getPeriodValue()
The value associated with the reported PeriodUnit.
PeriodUnit.public QuotaPeriod withPeriodValue(Integer periodValue)
The value associated with the reported PeriodUnit.
periodValue - The value associated with the reported PeriodUnit.public void setPeriodUnit(String periodUnit)
The time unit.
periodUnit - The time unit.PeriodUnitpublic String getPeriodUnit()
The time unit.
PeriodUnitpublic QuotaPeriod withPeriodUnit(String periodUnit)
The time unit.
periodUnit - The time unit.PeriodUnitpublic QuotaPeriod withPeriodUnit(PeriodUnit periodUnit)
The time unit.
periodUnit - The time unit.PeriodUnitpublic String toString()
toString in class ObjectObject.toString()public QuotaPeriod clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.