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.resetUsage(Boolean resetUsage) Specifies whether to reset the license usage for the new license version.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaIssuer.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDatetimeRange.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMetadata.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEntitlement.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConsumptionConfiguration.builder().When the
Consumercompletes,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.
-
resetUsage
Specifies whether to reset the license usage for the new license version. If you don't specify a value, the license usage is not reset.
- Parameters:
resetUsage- Specifies whether to reset the license usage for the new license version. If you don't specify a value, the license usage is not reset.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-