@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceCount extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains the resource type and the number of resources.
Constructor and Description |
---|
ResourceCount() |
Modifier and Type | Method and Description |
---|---|
ResourceCount |
clone() |
boolean |
equals(Object obj) |
Long |
getCount()
The number of resources.
|
String |
getResourceType()
The resource type, for example
"AWS::EC2::Instance" . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Long count)
The number of resources.
|
void |
setResourceType(String resourceType)
The resource type, for example
"AWS::EC2::Instance" . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResourceCount |
withCount(Long count)
The number of resources.
|
ResourceCount |
withResourceType(ResourceType resourceType)
The resource type, for example
"AWS::EC2::Instance" . |
ResourceCount |
withResourceType(String resourceType)
The resource type, for example
"AWS::EC2::Instance" . |
public void setResourceType(String resourceType)
The resource type, for example "AWS::EC2::Instance"
.
resourceType
- The resource type, for example "AWS::EC2::Instance"
.ResourceType
public String getResourceType()
The resource type, for example "AWS::EC2::Instance"
.
"AWS::EC2::Instance"
.ResourceType
public ResourceCount withResourceType(String resourceType)
The resource type, for example "AWS::EC2::Instance"
.
resourceType
- The resource type, for example "AWS::EC2::Instance"
.ResourceType
public ResourceCount withResourceType(ResourceType resourceType)
The resource type, for example "AWS::EC2::Instance"
.
resourceType
- The resource type, for example "AWS::EC2::Instance"
.ResourceType
public void setCount(Long count)
The number of resources.
count
- The number of resources.public Long getCount()
The number of resources.
public ResourceCount withCount(Long count)
The number of resources.
count
- The number of resources.public String toString()
toString
in class Object
Object.toString()
public ResourceCount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.