@Generated(value="software.amazon.awssdk:codegen") public final class LicenseConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LicenseConfiguration.Builder,LicenseConfiguration>
A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LicenseConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
AutomatedDiscoveryInformation |
automatedDiscoveryInformation()
Automated discovery information.
|
static LicenseConfiguration.Builder |
builder() |
Long |
consumedLicenses()
Number of licenses consumed.
|
List<ConsumedLicenseSummary> |
consumedLicenseSummaryList()
Summaries for licenses consumed by various resources.
|
String |
description()
Description of the license configuration.
|
Boolean |
disassociateWhenNotFound()
When true, disassociates a resource when software is uninstalled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasConsumedLicenseSummaryList()
Returns true if the ConsumedLicenseSummaryList property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasLicenseRules()
Returns true if the LicenseRules property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasManagedResourceSummaryList()
Returns true if the ManagedResourceSummaryList property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
boolean |
hasProductInformationList()
Returns true if the ProductInformationList property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
String |
licenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
|
String |
licenseConfigurationId()
Unique ID of the license configuration.
|
Long |
licenseCount()
Number of licenses managed by the license configuration.
|
Boolean |
licenseCountHardLimit()
Number of available licenses as a hard limit.
|
LicenseCountingType |
licenseCountingType()
Dimension to use to track the license inventory.
|
String |
licenseCountingTypeAsString()
Dimension to use to track the license inventory.
|
List<String> |
licenseRules()
License rules.
|
List<ManagedResourceSummary> |
managedResourceSummaryList()
Summaries for managed resources.
|
String |
name()
Name of the license configuration.
|
String |
ownerAccountId()
Account ID of the license configuration's owner.
|
List<ProductInformation> |
productInformationList()
Product information.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LicenseConfiguration.Builder> |
serializableBuilderClass() |
String |
status()
Status of the license configuration.
|
LicenseConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String licenseConfigurationId()
Unique ID of the license configuration.
public final String licenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
public final String name()
Name of the license configuration.
public final String description()
Description of the license configuration.
public final LicenseCountingType licenseCountingType()
Dimension to use to track the license inventory.
If the service returns an enum value that is not available in the current SDK version,
licenseCountingType will return LicenseCountingType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from licenseCountingTypeAsString().
LicenseCountingTypepublic final String licenseCountingTypeAsString()
Dimension to use to track the license inventory.
If the service returns an enum value that is not available in the current SDK version,
licenseCountingType will return LicenseCountingType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from licenseCountingTypeAsString().
LicenseCountingTypepublic final boolean hasLicenseRules()
public final List<String> licenseRules()
License rules.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLicenseRules() to see if a value was sent in this field.
public final Long licenseCount()
Number of licenses managed by the license configuration.
public final Boolean licenseCountHardLimit()
Number of available licenses as a hard limit.
public final Boolean disassociateWhenNotFound()
When true, disassociates a resource when software is uninstalled.
public final Long consumedLicenses()
Number of licenses consumed.
public final String status()
Status of the license configuration.
public final String ownerAccountId()
Account ID of the license configuration's owner.
public final boolean hasConsumedLicenseSummaryList()
public final List<ConsumedLicenseSummary> consumedLicenseSummaryList()
Summaries for licenses consumed by various resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasConsumedLicenseSummaryList() to see if a value was sent in this field.
public final boolean hasManagedResourceSummaryList()
public final List<ManagedResourceSummary> managedResourceSummaryList()
Summaries for managed resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasManagedResourceSummaryList() to see if a value was sent in this field.
public final boolean hasProductInformationList()
public final List<ProductInformation> productInformationList()
Product information.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProductInformationList() to see if a value was sent in this field.
public final AutomatedDiscoveryInformation automatedDiscoveryInformation()
Automated discovery information.
public LicenseConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LicenseConfiguration.Builder,LicenseConfiguration>public static LicenseConfiguration.Builder builder()
public static Class<? extends LicenseConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.