@Generated(value="software.amazon.awssdk:codegen") public final class GetLicenseConfigurationResponse extends LicenseManagerResponse implements ToCopyableBuilder<GetLicenseConfigurationResponse.Builder,GetLicenseConfigurationResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetLicenseConfigurationResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
AutomatedDiscoveryInformation |
automatedDiscoveryInformation()
Automated discovery information.
|
static GetLicenseConfigurationResponse.Builder |
builder() |
Long |
consumedLicenses()
Number of licenses assigned to resources.
|
List<ConsumedLicenseSummary> |
consumedLicenseSummaryList()
Summaries of the licenses consumed by 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()
For responses, this returns true if the service returned a value for the ConsumedLicenseSummaryList property.
|
int |
hashCode() |
boolean |
hasLicenseRules()
For responses, this returns true if the service returned a value for the LicenseRules property.
|
boolean |
hasManagedResourceSummaryList()
For responses, this returns true if the service returned a value for the ManagedResourceSummaryList property.
|
boolean |
hasProductInformationList()
For responses, this returns true if the service returned a value for the ProductInformationList property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
licenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
|
String |
licenseConfigurationId()
Unique ID for the license configuration.
|
Long |
licenseCount()
Number of available licenses.
|
Boolean |
licenseCountHardLimit()
Sets the number of available licenses as a hard limit.
|
LicenseCountingType |
licenseCountingType()
Dimension for which the licenses are counted.
|
String |
licenseCountingTypeAsString()
Dimension for which the licenses are counted.
|
List<String> |
licenseRules()
License rules.
|
List<ManagedResourceSummary> |
managedResourceSummaryList()
Summaries of the managed resources.
|
String |
name()
Name of the license configuration.
|
String |
ownerAccountId()
Account ID of the owner of the license configuration.
|
List<ProductInformation> |
productInformationList()
Product information.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetLicenseConfigurationResponse.Builder> |
serializableBuilderClass() |
String |
status()
License configuration status.
|
List<Tag> |
tags()
Tags for the license configuration.
|
GetLicenseConfigurationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String licenseConfigurationId()
Unique ID for 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 for which the licenses are counted.
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 for which the licenses are counted.
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> licenseRules()
License rules.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLicenseRules() method.
public final Long licenseCount()
Number of available licenses.
public final Boolean licenseCountHardLimit()
Sets the number of available licenses as a hard limit.
public final Long consumedLicenses()
Number of licenses assigned to resources.
public final String status()
License configuration status.
public final String ownerAccountId()
Account ID of the owner of the license configuration.
public final boolean hasConsumedLicenseSummaryList()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<ConsumedLicenseSummary> consumedLicenseSummaryList()
Summaries of the licenses consumed by resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasConsumedLicenseSummaryList() method.
public final boolean hasManagedResourceSummaryList()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<ManagedResourceSummary> managedResourceSummaryList()
Summaries of the managed resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasManagedResourceSummaryList() method.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
Tags for the license configuration.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final boolean hasProductInformationList()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<ProductInformation> productInformationList()
Product information.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasProductInformationList() method.
public final AutomatedDiscoveryInformation automatedDiscoveryInformation()
Automated discovery information.
public final Boolean disassociateWhenNotFound()
When true, disassociates a resource when software is uninstalled.
public GetLicenseConfigurationResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetLicenseConfigurationResponse.Builder,GetLicenseConfigurationResponse>toBuilder in class AwsResponsepublic static GetLicenseConfigurationResponse.Builder builder()
public static Class<? extends GetLicenseConfigurationResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.