Interface CreateLicenseVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLicenseVersionRequest.Builder,
,CreateLicenseVersionRequest> LicenseManagerRequest.Builder
,SdkBuilder<CreateLicenseVersionRequest.Builder,
,CreateLicenseVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLicenseVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.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 of the license.issuer
(Consumer<Issuer.Builder> issuer) License issuer.License issuer.licenseArn
(String licenseArn) Amazon Resource Name (ARN) of the license.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.sourceVersion
(String sourceVersion) Current version of the license.License status.status
(LicenseStatus status) License status.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, sdkFieldNameToField, sdkFields
-
Method Details
-
licenseArn
Amazon Resource Name (ARN) of the license.
- Parameters:
licenseArn
- Amazon Resource Name (ARN) of the license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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 of the license.
- Parameters:
homeRegion
- Home Region of 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:
-
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:
-
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:
-
consumptionConfiguration
CreateLicenseVersionRequest.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 CreateLicenseVersionRequest.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:
-
status
License status.
- Parameters:
status
- License status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
License status.
- Parameters:
status
- License status.- 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.
-
sourceVersion
Current version of the license.
- Parameters:
sourceVersion
- Current version of the license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLicenseVersionRequest.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
CreateLicenseVersionRequest.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.
-