@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 human-friendly description of the license configuration.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
licenseConfigurationArn()
ARN for a license configuration.
|
LicenseConfigurationStatus |
licenseConfigurationStatus()
New status of the license configuration (
ACTIVE or INACTIVE ). |
String |
licenseConfigurationStatusAsString()
New status of the license configuration (
ACTIVE or INACTIVE ). |
Long |
licenseCount()
New number of licenses managed by the license configuration.
|
Boolean |
licenseCountHardLimit()
Sets the number of available licenses as a hard limit.
|
List<String> |
licenseRules()
List of flexible text strings designating license rules.
|
String |
name()
New name of the license configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateLicenseConfigurationRequest.Builder> |
serializableBuilderClass() |
UpdateLicenseConfigurationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String licenseConfigurationArn()
ARN for a license configuration.
public LicenseConfigurationStatus licenseConfigurationStatus()
New status of the license configuration (ACTIVE
or INACTIVE
).
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()
.
ACTIVE
or INACTIVE
).LicenseConfigurationStatus
public String licenseConfigurationStatusAsString()
New status of the license configuration (ACTIVE
or INACTIVE
).
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()
.
ACTIVE
or INACTIVE
).LicenseConfigurationStatus
public List<String> licenseRules()
List of flexible text strings designating license rules.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Long licenseCount()
New number of licenses managed by the license configuration.
public Boolean licenseCountHardLimit()
Sets the number of available licenses as a hard limit.
public String name()
New name of the license configuration.
public String description()
New human-friendly description of the license configuration.
public UpdateLicenseConfigurationRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateLicenseConfigurationRequest.Builder,UpdateLicenseConfigurationRequest>
toBuilder
in class LicenseManagerRequest
public static UpdateLicenseConfigurationRequest.Builder builder()
public static Class<? extends UpdateLicenseConfigurationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.