@Generated(value="software.amazon.awssdk:codegen") public final class ManagedResourceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedResourceSummary.Builder,ManagedResourceSummary>
Summary for a resource.
Modifier and Type | Class and Description |
---|---|
static interface |
ManagedResourceSummary.Builder |
Modifier and Type | Method and Description |
---|---|
Long |
associationCount()
Number of resources associated with licenses.
|
static ManagedResourceSummary.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceType |
resourceType()
Type of resource associated with a license (instance, host, or AMI).
|
String |
resourceTypeAsString()
Type of resource associated with a license (instance, host, or AMI).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ManagedResourceSummary.Builder> |
serializableBuilderClass() |
ManagedResourceSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ResourceType resourceType()
Type of resource associated with a license (instance, host, or AMI).
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()
.
ResourceType
public String resourceTypeAsString()
Type of resource associated with a license (instance, host, or AMI).
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()
.
ResourceType
public Long associationCount()
Number of resources associated with licenses.
public ManagedResourceSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ManagedResourceSummary.Builder,ManagedResourceSummary>
public static ManagedResourceSummary.Builder builder()
public static Class<? extends ManagedResourceSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.