@Generated(value="software.amazon.awssdk:codegen") public final class LicenseConfigurationUsage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LicenseConfigurationUsage.Builder,LicenseConfigurationUsage>
Contains details of the usage of each resource from the license pool.
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 a resource.
|
static LicenseConfigurationUsage.Builder |
builder() |
Long |
consumedLicenses()
Number of licenses consumed out of the total provisioned in the license configuration.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceArn()
ARN of the resource associated with a license configuration.
|
String |
resourceOwnerId()
ID of the account that owns a resource that is associated with the license configuration.
|
String |
resourceStatus()
Status of a resource associated with the license configuration.
|
ResourceType |
resourceType()
Type of resource associated with athe license configuration.
|
String |
resourceTypeAsString()
Type of resource associated with athe license configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LicenseConfigurationUsage.Builder> |
serializableBuilderClass() |
LicenseConfigurationUsage.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String resourceArn()
ARN of the resource associated with a license configuration.
public ResourceType resourceType()
Type of resource associated with athe license configuration.
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 athe license configuration.
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 resourceStatus()
Status of a resource associated with the license configuration.
public String resourceOwnerId()
ID of the account that owns a resource that is associated with the license configuration.
public Instant associationTime()
Time when the license configuration was initially associated with a resource.
public Long consumedLicenses()
Number of licenses consumed out of the total provisioned in the license configuration.
public LicenseConfigurationUsage.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LicenseConfigurationUsage.Builder,LicenseConfigurationUsage>
public static LicenseConfigurationUsage.Builder builder()
public static Class<? extends LicenseConfigurationUsage.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.