@Generated(value="software.amazon.awssdk:codegen") public final class CreateLicenseConfigurationRequest extends LicenseManagerRequest implements ToCopyableBuilder<CreateLicenseConfigurationRequest.Builder,CreateLicenseConfigurationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateLicenseConfigurationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateLicenseConfigurationRequest.Builder |
builder() |
String |
description()
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() |
Long |
licenseCount()
Number of licenses managed by the license configuration.
|
Boolean |
licenseCountHardLimit()
Flag indicating whether hard or soft license enforcement is used.
|
LicenseCountingType |
licenseCountingType()
Dimension to use to track the license inventory.
|
String |
licenseCountingTypeAsString()
Dimension to use to track the license inventory.
|
List<String> |
licenseRules()
Array of configured License Manager rules.
|
String |
name()
Name of the license configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateLicenseConfigurationRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags to apply to the resources during launch.
|
CreateLicenseConfigurationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfigurationcopypublic String name()
Name of the license configuration.
public String description()
Human-friendly description of the license configuration.
public 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 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 Long licenseCount()
Number of licenses managed by the license configuration.
public Boolean licenseCountHardLimit()
Flag indicating whether hard or soft license enforcement is used. Exceeding a hard limit results in the blocked deployment of new instances.
public List<String> licenseRules()
Array of configured License Manager rules.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Tag> tags()
The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags .
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateLicenseConfigurationRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CreateLicenseConfigurationRequest.Builder,CreateLicenseConfigurationRequest>toBuilder in class LicenseManagerRequestpublic static CreateLicenseConfigurationRequest.Builder builder()
public static Class<? extends CreateLicenseConfigurationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. 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 SdkRequestfieldName - 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.