JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.licensemanager.model

Class CreateLicenseRequest

    • Constructor Detail

      • CreateLicenseRequest

        public CreateLicenseRequest()
    • Method Detail

      • setLicenseName

        public void setLicenseName(String licenseName)

        License name.

        Parameters:
        licenseName - License name.
      • getLicenseName

        public String getLicenseName()

        License name.

        Returns:
        License name.
      • withLicenseName

        public CreateLicenseRequest withLicenseName(String licenseName)

        License name.

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

        public void setProductName(String productName)

        Product name.

        Parameters:
        productName - Product name.
      • getProductName

        public String getProductName()

        Product name.

        Returns:
        Product name.
      • withProductName

        public CreateLicenseRequest withProductName(String productName)

        Product name.

        Parameters:
        productName - Product name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setProductSKU

        public void setProductSKU(String productSKU)

        Product SKU.

        Parameters:
        productSKU - Product SKU.
      • getProductSKU

        public String getProductSKU()

        Product SKU.

        Returns:
        Product SKU.
      • withProductSKU

        public CreateLicenseRequest withProductSKU(String productSKU)

        Product SKU.

        Parameters:
        productSKU - Product SKU.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIssuer

        public void setIssuer(Issuer issuer)

        License issuer.

        Parameters:
        issuer - License issuer.
      • getIssuer

        public Issuer getIssuer()

        License issuer.

        Returns:
        License issuer.
      • withIssuer

        public CreateLicenseRequest withIssuer(Issuer issuer)

        License issuer.

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

        public void setHomeRegion(String homeRegion)

        Home Region for the license.

        Parameters:
        homeRegion - Home Region for the license.
      • getHomeRegion

        public String getHomeRegion()

        Home Region for the license.

        Returns:
        Home Region for the license.
      • withHomeRegion

        public CreateLicenseRequest withHomeRegion(String homeRegion)

        Home Region for the license.

        Parameters:
        homeRegion - Home Region for the license.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setValidity

        public void setValidity(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.
      • getValidity

        public DatetimeRange getValidity()

        Date and time range during which the license is valid, in ISO8601-UTC format.

        Returns:
        Date and time range during which the license is valid, in ISO8601-UTC format.
      • withValidity

        public CreateLicenseRequest withValidity(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.
      • getEntitlements

        public List<Entitlement> getEntitlements()

        License entitlements.

        Returns:
        License entitlements.
      • setEntitlements

        public void setEntitlements(Collection<Entitlement> entitlements)

        License entitlements.

        Parameters:
        entitlements - License entitlements.
      • withEntitlements

        public CreateLicenseRequest withEntitlements(Collection<Entitlement> entitlements)

        License entitlements.

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

        public void setBeneficiary(String beneficiary)

        License beneficiary.

        Parameters:
        beneficiary - License beneficiary.
      • getBeneficiary

        public String getBeneficiary()

        License beneficiary.

        Returns:
        License beneficiary.
      • withBeneficiary

        public CreateLicenseRequest withBeneficiary(String beneficiary)

        License beneficiary.

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

        public void setConsumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)

        Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.

        Parameters:
        consumptionConfiguration - Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
      • getConsumptionConfiguration

        public ConsumptionConfiguration getConsumptionConfiguration()

        Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.

        Returns:
        Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
      • withConsumptionConfiguration

        public CreateLicenseRequest withConsumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)

        Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.

        Parameters:
        consumptionConfiguration - Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getLicenseMetadata

        public List<Metadata> getLicenseMetadata()

        Information about the license.

        Returns:
        Information about the license.
      • setLicenseMetadata

        public void setLicenseMetadata(Collection<Metadata> licenseMetadata)

        Information about the license.

        Parameters:
        licenseMetadata - Information about the license.
      • withLicenseMetadata

        public CreateLicenseRequest withLicenseMetadata(Collection<Metadata> licenseMetadata)

        Information about the license.

        Parameters:
        licenseMetadata - Information about the license.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClientToken

        public void setClientToken(String clientToken)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

        Parameters:
        clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      • getClientToken

        public String getClientToken()

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

        Returns:
        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      • withClientToken

        public CreateLicenseRequest withClientToken(String clientToken)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

        Parameters:
        clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /