@Generated(value="software.amazon.awssdk:codegen") public class ResourceCount extends Object implements StructuredPojo, ToCopyableBuilder<ResourceCount.Builder,ResourceCount>
An object that contains the resource type and the number of resources.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceCount.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceCount.Builder |
builder() |
Long |
count()
The number of resources.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
ResourceType |
resourceType()
The resource type, for example
"AWS::EC2::Instance". |
String |
resourceTypeAsString()
The resource type, for example
"AWS::EC2::Instance". |
static Class<? extends ResourceCount.Builder> |
serializableBuilderClass() |
ResourceCount.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic ResourceType resourceType()
The resource type, for example "AWS::EC2::Instance".
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
"AWS::EC2::Instance".ResourceTypepublic String resourceTypeAsString()
The resource type, for example "AWS::EC2::Instance".
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
"AWS::EC2::Instance".ResourceTypepublic Long count()
The number of resources.
public ResourceCount.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ResourceCount.Builder,ResourceCount>public static ResourceCount.Builder builder()
public static Class<? extends ResourceCount.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.