Interface CreateLicenseVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLicenseVersionRequest.Builder,CreateLicenseVersionRequest>,LicenseManagerRequest.Builder,SdkBuilder<CreateLicenseVersionRequest.Builder,CreateLicenseVersionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLicenseVersionRequest
public static interface CreateLicenseVersionRequest.Builder extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateLicenseVersionRequest.Builder,CreateLicenseVersionRequest>
-
-
Method Summary
-
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 Detail
-
licenseArn
CreateLicenseVersionRequest.Builder licenseArn(String 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
CreateLicenseVersionRequest.Builder licenseName(String licenseName)
License name.
- Parameters:
licenseName- License name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productName
CreateLicenseVersionRequest.Builder productName(String productName)
Product name.
- Parameters:
productName- Product name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuer
CreateLicenseVersionRequest.Builder issuer(Issuer issuer)
License issuer.
- Parameters:
issuer- License issuer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuer
default CreateLicenseVersionRequest.Builder issuer(Consumer<Issuer.Builder> 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:
issuer(Issuer)
-
homeRegion
CreateLicenseVersionRequest.Builder homeRegion(String 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
CreateLicenseVersionRequest.Builder validity(DatetimeRange 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
default CreateLicenseVersionRequest.Builder validity(Consumer<DatetimeRange.Builder> 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:
validity(DatetimeRange)
-
licenseMetadata
CreateLicenseVersionRequest.Builder licenseMetadata(Collection<Metadata> 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
CreateLicenseVersionRequest.Builder licenseMetadata(Metadata... 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
CreateLicenseVersionRequest.Builder licenseMetadata(Consumer<Metadata.Builder>... 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 to#licenseMetadata(List.) - 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:
#licenseMetadata(java.util.Collection)
-
entitlements
CreateLicenseVersionRequest.Builder entitlements(Collection<Entitlement> entitlements)
License entitlements.
- Parameters:
entitlements- License entitlements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
CreateLicenseVersionRequest.Builder entitlements(Entitlement... entitlements)
License entitlements.
- Parameters:
entitlements- License entitlements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
CreateLicenseVersionRequest.Builder entitlements(Consumer<Entitlement.Builder>... 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 to#entitlements(List.) - 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:
#entitlements(java.util.Collection)
-
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:
consumptionConfiguration(ConsumptionConfiguration)
-
status
CreateLicenseVersionRequest.Builder status(String status)
License status.
- Parameters:
status- License status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LicenseStatus,LicenseStatus
-
status
CreateLicenseVersionRequest.Builder status(LicenseStatus status)
License status.
- Parameters:
status- License status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LicenseStatus,LicenseStatus
-
clientToken
CreateLicenseVersionRequest.Builder clientToken(String 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
CreateLicenseVersionRequest.Builder sourceVersion(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLicenseVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-