@Generated(value="software.amazon.awssdk:codegen") public final class LicenseConfigurationUsage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LicenseConfigurationUsage.Builder,LicenseConfigurationUsage>
Details about the usage of a resource associated with a license configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LicenseConfigurationUsage.Builder |
| Modifier and Type | Method and Description |
|---|---|
Instant |
associationTime()
Time when the license configuration was initially associated with the resource.
|
static LicenseConfigurationUsage.Builder |
builder() |
Long |
consumedLicenses()
Number of licenses consumed by the resource.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceArn()
Amazon Resource Name (ARN) of the resource.
|
String |
resourceOwnerId()
ID of the account that owns the resource.
|
String |
resourceStatus()
Status of the resource.
|
ResourceType |
resourceType()
Type of resource.
|
String |
resourceTypeAsString()
Type of resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LicenseConfigurationUsage.Builder> |
serializableBuilderClass() |
LicenseConfigurationUsage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
Amazon Resource Name (ARN) of the resource.
public final ResourceType resourceType()
Type of resource.
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().
ResourceTypepublic final String resourceTypeAsString()
Type of resource.
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().
ResourceTypepublic final String resourceStatus()
Status of the resource.
public final String resourceOwnerId()
ID of the account that owns the resource.
public final Instant associationTime()
Time when the license configuration was initially associated with the resource.
public final Long consumedLicenses()
Number of licenses consumed by the resource.
public LicenseConfigurationUsage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LicenseConfigurationUsage.Builder,LicenseConfigurationUsage>public static LicenseConfigurationUsage.Builder builder()
public static Class<? extends LicenseConfigurationUsage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.