Interface GrantedLicense.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GrantedLicense.Builder,GrantedLicense>,SdkBuilder<GrantedLicense.Builder,GrantedLicense>,SdkPojo
- Enclosing class:
- GrantedLicense
public static interface GrantedLicense.Builder extends SdkPojo, CopyableBuilder<GrantedLicense.Builder,GrantedLicense>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GrantedLicense.Builderbeneficiary(String beneficiary)Granted license beneficiary.default GrantedLicense.BuilderconsumptionConfiguration(Consumer<ConsumptionConfiguration.Builder> consumptionConfiguration)Configuration for consumption of the license.GrantedLicense.BuilderconsumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)Configuration for consumption of the license.GrantedLicense.BuildercreateTime(String createTime)Creation time of the granted license.GrantedLicense.Builderentitlements(Collection<Entitlement> entitlements)License entitlements.GrantedLicense.Builderentitlements(Consumer<Entitlement.Builder>... entitlements)License entitlements.GrantedLicense.Builderentitlements(Entitlement... entitlements)License entitlements.GrantedLicense.BuilderhomeRegion(String homeRegion)Home Region of the granted license.default GrantedLicense.Builderissuer(Consumer<IssuerDetails.Builder> issuer)Granted license issuer.GrantedLicense.Builderissuer(IssuerDetails issuer)Granted license issuer.GrantedLicense.BuilderlicenseArn(String licenseArn)Amazon Resource Name (ARN) of the license.GrantedLicense.BuilderlicenseMetadata(Collection<Metadata> licenseMetadata)Granted license metadata.GrantedLicense.BuilderlicenseMetadata(Consumer<Metadata.Builder>... licenseMetadata)Granted license metadata.GrantedLicense.BuilderlicenseMetadata(Metadata... licenseMetadata)Granted license metadata.GrantedLicense.BuilderlicenseName(String licenseName)License name.GrantedLicense.BuilderproductName(String productName)Product name.GrantedLicense.BuilderproductSKU(String productSKU)Product SKU.default GrantedLicense.BuilderreceivedMetadata(Consumer<ReceivedMetadata.Builder> receivedMetadata)Granted license received metadata.GrantedLicense.BuilderreceivedMetadata(ReceivedMetadata receivedMetadata)Granted license received metadata.GrantedLicense.Builderstatus(String status)Granted license status.GrantedLicense.Builderstatus(LicenseStatus status)Granted license status.default GrantedLicense.Buildervalidity(Consumer<DatetimeRange.Builder> validity)Date and time range during which the granted license is valid, in ISO8601-UTC format.GrantedLicense.Buildervalidity(DatetimeRange validity)Date and time range during which the granted license is valid, in ISO8601-UTC format.GrantedLicense.Builderversion(String version)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 Detail
-
licenseArn
GrantedLicense.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
GrantedLicense.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
GrantedLicense.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.
-
productSKU
GrantedLicense.Builder productSKU(String productSKU)
Product SKU.
- Parameters:
productSKU- Product SKU.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuer
GrantedLicense.Builder issuer(IssuerDetails 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
default GrantedLicense.Builder issuer(Consumer<IssuerDetails.Builder> issuer)
Granted 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:
issuer(IssuerDetails)
-
homeRegion
GrantedLicense.Builder homeRegion(String 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
GrantedLicense.Builder status(String 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:
LicenseStatus,LicenseStatus
-
status
GrantedLicense.Builder status(LicenseStatus 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:
LicenseStatus,LicenseStatus
-
validity
GrantedLicense.Builder validity(DatetimeRange 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
default GrantedLicense.Builder validity(Consumer<DatetimeRange.Builder> 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.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)
-
beneficiary
GrantedLicense.Builder beneficiary(String 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
GrantedLicense.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
GrantedLicense.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
GrantedLicense.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
GrantedLicense.Builder consumptionConfiguration(ConsumptionConfiguration 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.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)
-
licenseMetadata
GrantedLicense.Builder licenseMetadata(Collection<Metadata> 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
GrantedLicense.Builder licenseMetadata(Metadata... 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
GrantedLicense.Builder licenseMetadata(Consumer<Metadata.Builder>... licenseMetadata)
Granted 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 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)
-
createTime
GrantedLicense.Builder createTime(String 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
GrantedLicense.Builder version(String 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
GrantedLicense.Builder receivedMetadata(ReceivedMetadata 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.Builderavoiding the need to create one manually viaReceivedMetadata.builder().When the
Consumercompletes,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:
receivedMetadata(ReceivedMetadata)
-
-