@Generated(value="software.amazon.awssdk:codegen") public final class UpdateLicenseConfigurationRequest extends LicenseManagerRequest implements ToCopyableBuilder<UpdateLicenseConfigurationRequest.Builder,UpdateLicenseConfigurationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateLicenseConfigurationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateLicenseConfigurationRequest.Builder |
builder() |
String |
description()
New 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) |
int |
hashCode() |
boolean |
hasLicenseRules()
For responses, this returns true if the service returned a value for the LicenseRules property.
|
boolean |
hasProductInformationList()
For responses, this returns true if the service returned a value for the ProductInformationList property.
|
String |
licenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
|
LicenseConfigurationStatus |
licenseConfigurationStatus()
New status of the license configuration.
|
String |
licenseConfigurationStatusAsString()
New status of the license configuration.
|
Long |
licenseCount()
New number of licenses managed by the license configuration.
|
Boolean |
licenseCountHardLimit()
New hard limit of the number of available licenses.
|
List<String> |
licenseRules()
New license rule.
|
String |
name()
New name of the license configuration.
|
List<ProductInformation> |
productInformationList()
New product information.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateLicenseConfigurationRequest.Builder> |
serializableBuilderClass() |
UpdateLicenseConfigurationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String licenseConfigurationArn()
Amazon Resource Name (ARN) of the license configuration.
public final LicenseConfigurationStatus licenseConfigurationStatus()
New status of the license configuration.
If the service returns an enum value that is not available in the current SDK version,
licenseConfigurationStatus will return LicenseConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from licenseConfigurationStatusAsString().
LicenseConfigurationStatuspublic final String licenseConfigurationStatusAsString()
New status of the license configuration.
If the service returns an enum value that is not available in the current SDK version,
licenseConfigurationStatus will return LicenseConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from licenseConfigurationStatusAsString().
LicenseConfigurationStatuspublic 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()
New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.
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()
New number of licenses managed by the license configuration.
public final Boolean licenseCountHardLimit()
New hard limit of the number of available licenses.
public final String name()
New name of the license configuration.
public final String description()
New description of the license configuration.
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()
New 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 Boolean disassociateWhenNotFound()
When true, disassociates a resource when software is uninstalled.
public UpdateLicenseConfigurationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateLicenseConfigurationRequest.Builder,UpdateLicenseConfigurationRequest>toBuilder in class LicenseManagerRequestpublic static UpdateLicenseConfigurationRequest.Builder builder()
public static Class<? extends UpdateLicenseConfigurationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2022. All rights reserved.