Interface GrantedLicense.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GrantedLicense.Builder,
,GrantedLicense> SdkBuilder<GrantedLicense.Builder,
,GrantedLicense> SdkPojo
- Enclosing class:
GrantedLicense
-
Method Summary
Modifier and TypeMethodDescriptionbeneficiary
(String beneficiary) Granted license beneficiary.default GrantedLicense.Builder
consumptionConfiguration
(Consumer<ConsumptionConfiguration.Builder> consumptionConfiguration) Configuration for consumption of the license.consumptionConfiguration
(ConsumptionConfiguration consumptionConfiguration) Configuration for consumption of the license.createTime
(String createTime) Creation time of the granted 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 granted license.default GrantedLicense.Builder
issuer
(Consumer<IssuerDetails.Builder> issuer) Granted license issuer.issuer
(IssuerDetails issuer) Granted license issuer.licenseArn
(String licenseArn) Amazon Resource Name (ARN) of the license.licenseMetadata
(Collection<Metadata> licenseMetadata) Granted license metadata.licenseMetadata
(Consumer<Metadata.Builder>... licenseMetadata) Granted license metadata.licenseMetadata
(Metadata... licenseMetadata) Granted license metadata.licenseName
(String licenseName) License name.productName
(String productName) Product name.productSKU
(String productSKU) Product SKU.default GrantedLicense.Builder
receivedMetadata
(Consumer<ReceivedMetadata.Builder> receivedMetadata) Granted license received metadata.receivedMetadata
(ReceivedMetadata receivedMetadata) Granted license received metadata.Granted license status.status
(LicenseStatus status) Granted license status.default GrantedLicense.Builder
validity
(Consumer<DatetimeRange.Builder> validity) Date and time range during which the granted license is valid, in ISO8601-UTC format.validity
(DatetimeRange validity) Date and time range during which the granted license is valid, in ISO8601-UTC format.Version of the granted license.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
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
Granted license issuer.
- Parameters:
issuer
- Granted license issuer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuer
Granted license issuer.
This is a convenience method that creates an instance of theIssuerDetails.Builder
avoiding the need to create one manually viaIssuerDetails.builder()
.When the
Consumer
completes,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 granted license.
- Parameters:
homeRegion
- Home Region of the granted license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Granted license status.
- Parameters:
status
- Granted license status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Granted license status.
- Parameters:
status
- Granted 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 granted license is valid, in ISO8601-UTC format.
- Parameters:
validity
- Date and time range during which the granted 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 granted 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:
-
beneficiary
Granted license beneficiary.
- Parameters:
beneficiary
- Granted 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.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
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 GrantedLicense.Builder consumptionConfiguration(Consumer<ConsumptionConfiguration.Builder> consumptionConfiguration) Configuration for consumption of the license.
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
Granted license metadata.
- Parameters:
licenseMetadata
- Granted license metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseMetadata
Granted license metadata.
- Parameters:
licenseMetadata
- Granted license metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseMetadata
Granted license metadata.
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:
-
createTime
Creation time of the granted license.
- Parameters:
createTime
- Creation time of the granted license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Version of the granted license.
- Parameters:
version
- Version of the granted license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receivedMetadata
Granted license received metadata.
- Parameters:
receivedMetadata
- Granted license received metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receivedMetadata
default GrantedLicense.Builder receivedMetadata(Consumer<ReceivedMetadata.Builder> receivedMetadata) Granted license received metadata.
This is a convenience method that creates an instance of theReceivedMetadata.Builder
avoiding the need to create one manually viaReceivedMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreceivedMetadata(ReceivedMetadata)
.- Parameters:
receivedMetadata
- a consumer that will call methods onReceivedMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-