@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CountPercent extends Object implements Serializable, Cloneable, StructuredPojo
Entity that comprises information of count and percentage.
Constructor and Description |
---|
CountPercent() |
Modifier and Type | Method and Description |
---|---|
CountPercent |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
Indicates the count of occurences of the given statistic.
|
Float |
getPercentage()
Indicates the percentage of occurances of the given statistic.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Integer count)
Indicates the count of occurences of the given statistic.
|
void |
setPercentage(Float percentage)
Indicates the percentage of occurances of the given statistic.
|
String |
toString()
Returns a string representation of this object.
|
CountPercent |
withCount(Integer count)
Indicates the count of occurences of the given statistic.
|
CountPercent |
withPercentage(Float percentage)
Indicates the percentage of occurances of the given statistic.
|
public void setCount(Integer count)
Indicates the count of occurences of the given statistic.
count
- Indicates the count of occurences of the given statistic.public Integer getCount()
Indicates the count of occurences of the given statistic.
public CountPercent withCount(Integer count)
Indicates the count of occurences of the given statistic.
count
- Indicates the count of occurences of the given statistic.public void setPercentage(Float percentage)
Indicates the percentage of occurances of the given statistic.
percentage
- Indicates the percentage of occurances of the given statistic.public Float getPercentage()
Indicates the percentage of occurances of the given statistic.
public CountPercent withPercentage(Float percentage)
Indicates the percentage of occurances of the given statistic.
percentage
- Indicates the percentage of occurances of the given statistic.public String toString()
toString
in class Object
Object.toString()
public CountPercent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.