Class LicenseConfigurationUsage
- java.lang.Object
-
- software.amazon.awssdk.services.licensemanager.model.LicenseConfigurationUsage
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LicenseConfigurationUsage.Builder,LicenseConfigurationUsage>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLicenseConfigurationUsage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantassociationTime()Time when the license configuration was initially associated with the resource.static LicenseConfigurationUsage.Builderbuilder()LongconsumedLicenses()Number of licenses consumed by the resource.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceArn()Amazon Resource Name (ARN) of the resource.StringresourceOwnerId()ID of the account that owns the resource.StringresourceStatus()Status of the resource.ResourceTyperesourceType()Type of resource.StringresourceTypeAsString()Type of resource.List<SdkField<?>>sdkFields()static Class<? extends LicenseConfigurationUsage.Builder>serializableBuilderClass()LicenseConfigurationUsage.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceArn
public final String resourceArn()
Amazon Resource Name (ARN) of the resource.
- Returns:
- Amazon Resource Name (ARN) of the resource.
-
resourceType
public final ResourceType resourceType()
Type of resource.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- Type of resource.
- See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
Type of resource.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- Type of resource.
- See Also:
ResourceType
-
resourceStatus
public final String resourceStatus()
Status of the resource.
- Returns:
- Status of the resource.
-
resourceOwnerId
public final String resourceOwnerId()
ID of the account that owns the resource.
- Returns:
- ID of the account that owns the resource.
-
associationTime
public final Instant associationTime()
Time when the license configuration was initially associated with the resource.
- Returns:
- Time when the license configuration was initially associated with the resource.
-
consumedLicenses
public final Long consumedLicenses()
Number of licenses consumed by the resource.
- Returns:
- Number of licenses consumed by the resource.
-
toBuilder
public LicenseConfigurationUsage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LicenseConfigurationUsage.Builder,LicenseConfigurationUsage>
-
builder
public static LicenseConfigurationUsage.Builder builder()
-
serializableBuilderClass
public static Class<? extends LicenseConfigurationUsage.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-