@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QuotaPeriod extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains 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 of a period.
|
Integer |
getPeriodValue()
The value of a period.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPeriodUnit(String periodUnit)
The time unit of a period.
|
void |
setPeriodValue(Integer periodValue)
The value of a period.
|
String |
toString()
Returns a string representation of this object.
|
QuotaPeriod |
withPeriodUnit(PeriodUnit periodUnit)
The time unit of a period.
|
QuotaPeriod |
withPeriodUnit(String periodUnit)
The time unit of a period.
|
QuotaPeriod |
withPeriodValue(Integer periodValue)
The value of a period.
|
public void setPeriodValue(Integer periodValue)
The value of a period.
periodValue - The value of a period.public Integer getPeriodValue()
The value of a period.
public QuotaPeriod withPeriodValue(Integer periodValue)
The value of a period.
periodValue - The value of a period.public void setPeriodUnit(String periodUnit)
The time unit of a period.
periodUnit - The time unit of a period.PeriodUnitpublic String getPeriodUnit()
The time unit of a period.
PeriodUnitpublic QuotaPeriod withPeriodUnit(String periodUnit)
The time unit of a period.
periodUnit - The time unit of a period.PeriodUnitpublic QuotaPeriod withPeriodUnit(PeriodUnit periodUnit)
The time unit of a period.
periodUnit - The time unit of a period.PeriodUnitpublic String toString()
toString in class ObjectObject.toString()public QuotaPeriod clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.