public static interface CreateLicenseConfigurationRequest.Builder extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateLicenseConfigurationRequest.Builder,CreateLicenseConfigurationRequest>
Modifier and Type | Method and Description |
---|---|
CreateLicenseConfigurationRequest.Builder |
description(String description)
Human-friendly description of the license configuration.
|
CreateLicenseConfigurationRequest.Builder |
licenseCount(Long licenseCount)
Number of licenses managed by the license configuration.
|
CreateLicenseConfigurationRequest.Builder |
licenseCountHardLimit(Boolean licenseCountHardLimit)
Flag indicating whether hard or soft license enforcement is used.
|
CreateLicenseConfigurationRequest.Builder |
licenseCountingType(LicenseCountingType licenseCountingType)
Dimension to use to track the license inventory.
|
CreateLicenseConfigurationRequest.Builder |
licenseCountingType(String licenseCountingType)
Dimension to use to track the license inventory.
|
CreateLicenseConfigurationRequest.Builder |
licenseRules(Collection<String> licenseRules)
Array of configured License Manager rules.
|
CreateLicenseConfigurationRequest.Builder |
licenseRules(String... licenseRules)
Array of configured License Manager rules.
|
CreateLicenseConfigurationRequest.Builder |
name(String name)
Name of the license configuration.
|
CreateLicenseConfigurationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateLicenseConfigurationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateLicenseConfigurationRequest.Builder |
tags(Collection<Tag> tags)
The tags to apply to the resources during launch.
|
CreateLicenseConfigurationRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to apply to the resources during launch.
|
CreateLicenseConfigurationRequest.Builder |
tags(Tag... tags)
The tags to apply to the resources during launch.
|
build
overrideConfiguration
copy
applyMutation, build
CreateLicenseConfigurationRequest.Builder name(String name)
Name of the license configuration.
name
- Name of the license configuration.CreateLicenseConfigurationRequest.Builder description(String description)
Human-friendly description of the license configuration.
description
- Human-friendly description of the license configuration.CreateLicenseConfigurationRequest.Builder licenseCountingType(String licenseCountingType)
Dimension to use to track the license inventory.
licenseCountingType
- Dimension to use to track the license inventory.LicenseCountingType
,
LicenseCountingType
CreateLicenseConfigurationRequest.Builder licenseCountingType(LicenseCountingType licenseCountingType)
Dimension to use to track the license inventory.
licenseCountingType
- Dimension to use to track the license inventory.LicenseCountingType
,
LicenseCountingType
CreateLicenseConfigurationRequest.Builder licenseCount(Long licenseCount)
Number of licenses managed by the license configuration.
licenseCount
- Number of licenses managed by the license configuration.CreateLicenseConfigurationRequest.Builder licenseCountHardLimit(Boolean licenseCountHardLimit)
Flag indicating whether hard or soft license enforcement is used. Exceeding a hard limit results in the blocked deployment of new instances.
licenseCountHardLimit
- Flag indicating whether hard or soft license enforcement is used. Exceeding a hard limit results in
the blocked deployment of new instances.CreateLicenseConfigurationRequest.Builder licenseRules(Collection<String> licenseRules)
Array of configured License Manager rules.
licenseRules
- Array of configured License Manager rules.CreateLicenseConfigurationRequest.Builder licenseRules(String... licenseRules)
Array of configured License Manager rules.
licenseRules
- Array of configured License Manager rules.CreateLicenseConfigurationRequest.Builder tags(Collection<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 .
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 .
CreateLicenseConfigurationRequest.Builder tags(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 .
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 .
CreateLicenseConfigurationRequest.Builder tags(Consumer<Tag.Builder>... 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 .
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateLicenseConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateLicenseConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.