Interface License.Builder

    • Method Detail

      • licenseArn

        License.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

        License.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

        License.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

        License.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

        License.Builder issuer​(IssuerDetails issuer)

        License issuer.

        Parameters:
        issuer - License issuer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • homeRegion

        License.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

        License.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.
      • beneficiary

        License.Builder beneficiary​(String beneficiary)

        License beneficiary.

        Parameters:
        beneficiary - License beneficiary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entitlements

        License.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

        License.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.
      • consumptionConfiguration

        License.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.
      • licenseMetadata

        License.Builder licenseMetadata​(Collection<Metadata> licenseMetadata)

        License metadata.

        Parameters:
        licenseMetadata - License metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • licenseMetadata

        License.Builder licenseMetadata​(Metadata... licenseMetadata)

        License metadata.

        Parameters:
        licenseMetadata - License metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • licenseMetadata

        License.Builder licenseMetadata​(Consumer<Metadata.Builder>... licenseMetadata)

        License metadata.

        This is a convenience method that creates an instance of the Metadata.Builder avoiding the need to create one manually via Metadata.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #licenseMetadata(List).

        Parameters:
        licenseMetadata - a consumer that will call methods on Metadata.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #licenseMetadata(java.util.Collection)
      • createTime

        License.Builder createTime​(String 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.Builder version​(String version)

        License version.

        Parameters:
        version - License version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.