@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)
Marshalls this structured data using the given
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.PeriodUnit
public String getPeriodUnit()
The time unit of a period.
PeriodUnit
public QuotaPeriod withPeriodUnit(String periodUnit)
The time unit of a period.
periodUnit
- The time unit of a period.PeriodUnit
public QuotaPeriod withPeriodUnit(PeriodUnit periodUnit)
The time unit of a period.
periodUnit
- The time unit of a period.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.