@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkResourceCount extends Object implements Serializable, Cloneable, StructuredPojo
Describes a resource count.
| Constructor and Description |
|---|
NetworkResourceCount() |
| Modifier and Type | Method and Description |
|---|---|
NetworkResourceCount |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The resource count.
|
String |
getResourceType()
The resource type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCount(Integer count)
The resource count.
|
void |
setResourceType(String resourceType)
The resource type.
|
String |
toString()
Returns a string representation of this object.
|
NetworkResourceCount |
withCount(Integer count)
The resource count.
|
NetworkResourceCount |
withResourceType(String resourceType)
The resource type.
|
public void setResourceType(String resourceType)
The resource type.
resourceType - The resource type.public String getResourceType()
The resource type.
public NetworkResourceCount withResourceType(String resourceType)
The resource type.
resourceType - The resource type.public void setCount(Integer count)
The resource count.
count - The resource count.public Integer getCount()
The resource count.
public NetworkResourceCount withCount(Integer count)
The resource count.
count - The resource count.public String toString()
toString in class ObjectObject.toString()public NetworkResourceCount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.