Interface CreateLicenseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLicenseRequest.Builder,
,CreateLicenseRequest> LicenseManagerRequest.Builder
,SdkBuilder<CreateLicenseRequest.Builder,
,CreateLicenseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLicenseRequest
-
Method Summary
Modifier and TypeMethodDescriptionbeneficiary
(String beneficiary) License beneficiary.clientToken
(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default CreateLicenseRequest.Builder
consumptionConfiguration
(Consumer<ConsumptionConfiguration.Builder> consumptionConfiguration) Configuration for consumption of the license.consumptionConfiguration
(ConsumptionConfiguration consumptionConfiguration) Configuration for consumption of the license.entitlements
(Collection<Entitlement> entitlements) License entitlements.entitlements
(Consumer<Entitlement.Builder>... entitlements) License entitlements.entitlements
(Entitlement... entitlements) License entitlements.homeRegion
(String homeRegion) Home Region for the license.default CreateLicenseRequest.Builder
issuer
(Consumer<Issuer.Builder> issuer) License issuer.License issuer.licenseMetadata
(Collection<Metadata> licenseMetadata) Information about the license.licenseMetadata
(Consumer<Metadata.Builder>... licenseMetadata) Information about the license.licenseMetadata
(Metadata... licenseMetadata) Information about the license.licenseName
(String licenseName) License name.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.productName
(String productName) Product name.productSKU
(String productSKU) Product SKU.default CreateLicenseRequest.Builder
validity
(Consumer<DatetimeRange.Builder> validity) Date and time range during which the license is valid, in ISO8601-UTC format.validity
(DatetimeRange validity) Date and time range during which the license is valid, in ISO8601-UTC format.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
licenseName
License name.
- Parameters:
licenseName
- License name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productName
Product name.
- Parameters:
productName
- Product name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productSKU
Product SKU.
- Parameters:
productSKU
- Product SKU.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuer
License issuer.
- Parameters:
issuer
- License issuer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuer
License issuer.
This is a convenience method that creates an instance of theIssuer.Builder
avoiding the need to create one manually viaIssuer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toissuer(Issuer)
.- Parameters:
issuer
- a consumer that will call methods onIssuer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
homeRegion
Home Region for the license.
- Parameters:
homeRegion
- Home Region for the license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validity
Date and time range during which the license is valid, in ISO8601-UTC format.
- Parameters:
validity
- Date and time range during which the license is valid, in ISO8601-UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validity
Date and time range during which the license is valid, in ISO8601-UTC format.
This is a convenience method that creates an instance of theDatetimeRange.Builder
avoiding the need to create one manually viaDatetimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidity(DatetimeRange)
.- Parameters:
validity
- a consumer that will call methods onDatetimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entitlements
License entitlements.
- Parameters:
entitlements
- License entitlements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
License entitlements.
- Parameters:
entitlements
- License entitlements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
License entitlements.
This is a convenience method that creates an instance of theEntitlement.Builder
avoiding the need to create one manually viaEntitlement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentitlements(List<Entitlement>)
.- Parameters:
entitlements
- a consumer that will call methods onEntitlement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
beneficiary
License beneficiary.
- Parameters:
beneficiary
- License beneficiary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumptionConfiguration
CreateLicenseRequest.Builder consumptionConfiguration(ConsumptionConfiguration consumptionConfiguration) Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
- Parameters:
consumptionConfiguration
- Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumptionConfiguration
default CreateLicenseRequest.Builder consumptionConfiguration(Consumer<ConsumptionConfiguration.Builder> consumptionConfiguration) Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
This is a convenience method that creates an instance of theConsumptionConfiguration.Builder
avoiding the need to create one manually viaConsumptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconsumptionConfiguration(ConsumptionConfiguration)
.- Parameters:
consumptionConfiguration
- a consumer that will call methods onConsumptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseMetadata
Information about the license.
- Parameters:
licenseMetadata
- Information about the license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseMetadata
Information about the license.
- Parameters:
licenseMetadata
- Information about the license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseMetadata
Information about the license.
This is a convenience method that creates an instance of theMetadata.Builder
avoiding the need to create one manually viaMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolicenseMetadata(List<Metadata>)
.- Parameters:
licenseMetadata
- a consumer that will call methods onMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLicenseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLicenseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-