Interface License.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<License.Builder,,License> SdkBuilder<License.Builder,,License> SdkPojo
- Enclosing class:
License
-
Method Summary
Modifier and TypeMethodDescriptionbeneficiary(String beneficiary) License beneficiary.default License.BuilderconsumptionConfiguration(Consumer<ConsumptionConfiguration.Builder> consumptionConfiguration) Configuration for consumption of the license.consumptionConfiguration(ConsumptionConfiguration consumptionConfiguration) Configuration for consumption of the license.createTime(String createTime) License creation time.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.default License.Builderissuer(Consumer<IssuerDetails.Builder> issuer) License issuer.issuer(IssuerDetails issuer) License issuer.licenseArn(String licenseArn) Amazon Resource Name (ARN) of the license.licenseMetadata(Collection<Metadata> licenseMetadata) License metadata.licenseMetadata(Consumer<Metadata.Builder>... licenseMetadata) License metadata.licenseMetadata(Metadata... licenseMetadata) License metadata.licenseName(String licenseName) License name.productName(String productName) Product name.productSKU(String productSKU) Product SKU.License status.status(LicenseStatus status) License status.default License.Buildervalidity(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.License version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.
-
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 theIssuerDetails.Builderavoiding the need to create one manually viaIssuerDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toissuer(IssuerDetails).- Parameters:
issuer- a consumer that will call methods onIssuerDetails.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.
-
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:
-
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:
-
beneficiary
License beneficiary.
- Parameters:
beneficiary- License beneficiary.- 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.
- 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
Configuration for consumption of the license.
- Parameters:
consumptionConfiguration- Configuration for consumption of the license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumptionConfiguration
default License.Builder consumptionConfiguration(Consumer<ConsumptionConfiguration.Builder> consumptionConfiguration) Configuration for consumption of the license.
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:
-
licenseMetadata
License metadata.
- Parameters:
licenseMetadata- License metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseMetadata
License metadata.
- Parameters:
licenseMetadata- License metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseMetadata
License metadata.
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:
-
createTime
License creation time.
- Parameters:
createTime- License creation time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
License version.
- Parameters:
version- License version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-