public static interface GrantedLicense.Builder extends SdkPojo, CopyableBuilder<GrantedLicense.Builder,GrantedLicense>
| Modifier and Type | Method and Description |
|---|---|
GrantedLicense.Builder |
beneficiary(String beneficiary)
Granted license beneficiary.
|
default GrantedLicense.Builder |
consumptionConfiguration(Consumer<ConsumptionConfiguration.Builder> consumptionConfiguration)
Configuration for consumption of the license.
|
GrantedLicense.Builder |
consumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)
Configuration for consumption of the license.
|
GrantedLicense.Builder |
createTime(String createTime)
Creation time of the granted license.
|
GrantedLicense.Builder |
entitlements(Collection<Entitlement> entitlements)
License entitlements.
|
GrantedLicense.Builder |
entitlements(Consumer<Entitlement.Builder>... entitlements)
License entitlements.
|
GrantedLicense.Builder |
entitlements(Entitlement... entitlements)
License entitlements.
|
GrantedLicense.Builder |
homeRegion(String homeRegion)
Home Region of the granted license.
|
default GrantedLicense.Builder |
issuer(Consumer<IssuerDetails.Builder> issuer)
Granted license issuer.
|
GrantedLicense.Builder |
issuer(IssuerDetails issuer)
Granted license issuer.
|
GrantedLicense.Builder |
licenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
GrantedLicense.Builder |
licenseMetadata(Collection<Metadata> licenseMetadata)
Granted license metadata.
|
GrantedLicense.Builder |
licenseMetadata(Consumer<Metadata.Builder>... licenseMetadata)
Granted license metadata.
|
GrantedLicense.Builder |
licenseMetadata(Metadata... licenseMetadata)
Granted license metadata.
|
GrantedLicense.Builder |
licenseName(String licenseName)
License name.
|
GrantedLicense.Builder |
productName(String productName)
Product name.
|
GrantedLicense.Builder |
productSKU(String productSKU)
Product SKU.
|
default GrantedLicense.Builder |
receivedMetadata(Consumer<ReceivedMetadata.Builder> receivedMetadata)
Granted license received metadata.
|
GrantedLicense.Builder |
receivedMetadata(ReceivedMetadata receivedMetadata)
Granted license received metadata.
|
GrantedLicense.Builder |
status(LicenseStatus status)
Granted license status.
|
GrantedLicense.Builder |
status(String 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.
|
GrantedLicense.Builder |
validity(DatetimeRange validity)
Date and time range during which the granted license is valid, in ISO8601-UTC format.
|
GrantedLicense.Builder |
version(String version)
Version of the granted license.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGrantedLicense.Builder licenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
licenseArn - Amazon Resource Name (ARN) of the license.GrantedLicense.Builder licenseName(String licenseName)
License name.
licenseName - License name.GrantedLicense.Builder productName(String productName)
Product name.
productName - Product name.GrantedLicense.Builder productSKU(String productSKU)
Product SKU.
productSKU - Product SKU.GrantedLicense.Builder issuer(IssuerDetails issuer)
Granted license issuer.
issuer - Granted license issuer.default GrantedLicense.Builder issuer(Consumer<IssuerDetails.Builder> issuer)
Granted license issuer.
This is a convenience that creates an instance of theIssuerDetails.Builder avoiding the need to
create one manually via IssuerDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to issuer(IssuerDetails).issuer - a consumer that will call methods on IssuerDetails.Builderissuer(IssuerDetails)GrantedLicense.Builder homeRegion(String homeRegion)
Home Region of the granted license.
homeRegion - Home Region of the granted license.GrantedLicense.Builder status(String status)
Granted license status.
status - Granted license status.LicenseStatus,
LicenseStatusGrantedLicense.Builder status(LicenseStatus status)
Granted license status.
status - Granted license status.LicenseStatus,
LicenseStatusGrantedLicense.Builder validity(DatetimeRange validity)
Date and time range during which the granted license is valid, in ISO8601-UTC format.
validity - Date and time range during which the granted license is valid, in ISO8601-UTC format.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 that creates an instance of theDatetimeRange.Builder avoiding the need to
create one manually via DatetimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to validity(DatetimeRange).validity - a consumer that will call methods on DatetimeRange.Buildervalidity(DatetimeRange)GrantedLicense.Builder beneficiary(String beneficiary)
Granted license beneficiary.
beneficiary - Granted license beneficiary.GrantedLicense.Builder entitlements(Collection<Entitlement> entitlements)
License entitlements.
entitlements - License entitlements.GrantedLicense.Builder entitlements(Entitlement... entitlements)
License entitlements.
entitlements - License entitlements.GrantedLicense.Builder entitlements(Consumer<Entitlement.Builder>... entitlements)
License entitlements.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #entitlements(List) .entitlements - a consumer that will call methods on List.Builder #entitlements(List) GrantedLicense.Builder consumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)
Configuration for consumption of the license.
consumptionConfiguration - Configuration for consumption of the license.default GrantedLicense.Builder consumptionConfiguration(Consumer<ConsumptionConfiguration.Builder> consumptionConfiguration)
Configuration for consumption of the license.
This is a convenience that creates an instance of theConsumptionConfiguration.Builder avoiding the
need to create one manually via ConsumptionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to consumptionConfiguration(ConsumptionConfiguration).consumptionConfiguration - a consumer that will call methods on ConsumptionConfiguration.BuilderconsumptionConfiguration(ConsumptionConfiguration)GrantedLicense.Builder licenseMetadata(Collection<Metadata> licenseMetadata)
Granted license metadata.
licenseMetadata - Granted license metadata.GrantedLicense.Builder licenseMetadata(Metadata... licenseMetadata)
Granted license metadata.
licenseMetadata - Granted license metadata.GrantedLicense.Builder licenseMetadata(Consumer<Metadata.Builder>... licenseMetadata)
Granted license metadata.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #licenseMetadata(List) .licenseMetadata - a consumer that will call methods on List.Builder #licenseMetadata(List) GrantedLicense.Builder createTime(String createTime)
Creation time of the granted license.
createTime - Creation time of the granted license.GrantedLicense.Builder version(String version)
Version of the granted license.
version - Version of the granted license.GrantedLicense.Builder receivedMetadata(ReceivedMetadata receivedMetadata)
Granted license received metadata.
receivedMetadata - Granted license received metadata.default GrantedLicense.Builder receivedMetadata(Consumer<ReceivedMetadata.Builder> receivedMetadata)
Granted license received metadata.
This is a convenience that creates an instance of theReceivedMetadata.Builder avoiding the need to
create one manually via ReceivedMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to receivedMetadata(ReceivedMetadata).receivedMetadata - a consumer that will call methods on ReceivedMetadata.BuilderreceivedMetadata(ReceivedMetadata)Copyright © 2022. All rights reserved.