@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.PeriodUnit
public String getPeriodUnit()
The time unit.
PeriodUnit
public QuotaPeriod withPeriodUnit(String periodUnit)
The time unit.
periodUnit
- The time unit.PeriodUnit
public QuotaPeriod withPeriodUnit(PeriodUnit periodUnit)
The time unit.
periodUnit
- The time unit.PeriodUnit
public String toString()
toString
in class Object
Object.toString()
public QuotaPeriod clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.