@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLicenseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLicenseRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLicenseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBeneficiary()
License beneficiary.
|
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
ConsumptionConfiguration |
getConsumptionConfiguration()
Configuration for consumption of the license.
|
List<Entitlement> |
getEntitlements()
License entitlements.
|
String |
getHomeRegion()
Home Region for the license.
|
Issuer |
getIssuer()
License issuer.
|
List<Metadata> |
getLicenseMetadata()
Information about the license.
|
String |
getLicenseName()
License name.
|
String |
getProductName()
Product name.
|
String |
getProductSKU()
Product SKU.
|
DatetimeRange |
getValidity()
Date and time range during which the license is valid, in ISO8601-UTC format.
|
int |
hashCode() |
void |
setBeneficiary(String beneficiary)
License beneficiary.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setConsumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)
Configuration for consumption of the license.
|
void |
setEntitlements(Collection<Entitlement> entitlements)
License entitlements.
|
void |
setHomeRegion(String homeRegion)
Home Region for the license.
|
void |
setIssuer(Issuer issuer)
License issuer.
|
void |
setLicenseMetadata(Collection<Metadata> licenseMetadata)
Information about the license.
|
void |
setLicenseName(String licenseName)
License name.
|
void |
setProductName(String productName)
Product name.
|
void |
setProductSKU(String productSKU)
Product SKU.
|
void |
setValidity(DatetimeRange validity)
Date and time range during which the license is valid, in ISO8601-UTC format.
|
String |
toString()
Returns a string representation of this object.
|
CreateLicenseRequest |
withBeneficiary(String beneficiary)
License beneficiary.
|
CreateLicenseRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateLicenseRequest |
withConsumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)
Configuration for consumption of the license.
|
CreateLicenseRequest |
withEntitlements(Collection<Entitlement> entitlements)
License entitlements.
|
CreateLicenseRequest |
withEntitlements(Entitlement... entitlements)
License entitlements.
|
CreateLicenseRequest |
withHomeRegion(String homeRegion)
Home Region for the license.
|
CreateLicenseRequest |
withIssuer(Issuer issuer)
License issuer.
|
CreateLicenseRequest |
withLicenseMetadata(Collection<Metadata> licenseMetadata)
Information about the license.
|
CreateLicenseRequest |
withLicenseMetadata(Metadata... licenseMetadata)
Information about the license.
|
CreateLicenseRequest |
withLicenseName(String licenseName)
License name.
|
CreateLicenseRequest |
withProductName(String productName)
Product name.
|
CreateLicenseRequest |
withProductSKU(String productSKU)
Product SKU.
|
CreateLicenseRequest |
withValidity(DatetimeRange validity)
Date and time range during which the license is valid, in ISO8601-UTC format.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLicenseName(String licenseName)
License name.
licenseName
- License name.public String getLicenseName()
License name.
public CreateLicenseRequest withLicenseName(String licenseName)
License name.
licenseName
- License name.public void setProductName(String productName)
Product name.
productName
- Product name.public String getProductName()
Product name.
public CreateLicenseRequest withProductName(String productName)
Product name.
productName
- Product name.public void setProductSKU(String productSKU)
Product SKU.
productSKU
- Product SKU.public String getProductSKU()
Product SKU.
public CreateLicenseRequest withProductSKU(String productSKU)
Product SKU.
productSKU
- Product SKU.public void setIssuer(Issuer issuer)
License issuer.
issuer
- License issuer.public Issuer getIssuer()
License issuer.
public CreateLicenseRequest withIssuer(Issuer issuer)
License issuer.
issuer
- License issuer.public void setHomeRegion(String homeRegion)
Home Region for the license.
homeRegion
- Home Region for the license.public String getHomeRegion()
Home Region for the license.
public CreateLicenseRequest withHomeRegion(String homeRegion)
Home Region for the license.
homeRegion
- Home Region for the license.public void setValidity(DatetimeRange validity)
Date and time range during which the license is valid, in ISO8601-UTC format.
validity
- Date and time range during which the license is valid, in ISO8601-UTC format.public DatetimeRange getValidity()
Date and time range during which the license is valid, in ISO8601-UTC format.
public CreateLicenseRequest withValidity(DatetimeRange validity)
Date and time range during which the license is valid, in ISO8601-UTC format.
validity
- Date and time range during which the license is valid, in ISO8601-UTC format.public List<Entitlement> getEntitlements()
License entitlements.
public void setEntitlements(Collection<Entitlement> entitlements)
License entitlements.
entitlements
- License entitlements.public CreateLicenseRequest withEntitlements(Entitlement... entitlements)
License entitlements.
NOTE: This method appends the values to the existing list (if any). Use
setEntitlements(java.util.Collection)
or withEntitlements(java.util.Collection)
if you want to
override the existing values.
entitlements
- License entitlements.public CreateLicenseRequest withEntitlements(Collection<Entitlement> entitlements)
License entitlements.
entitlements
- License entitlements.public void setBeneficiary(String beneficiary)
License beneficiary.
beneficiary
- License beneficiary.public String getBeneficiary()
License beneficiary.
public CreateLicenseRequest withBeneficiary(String beneficiary)
License beneficiary.
beneficiary
- License beneficiary.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.
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.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.
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.
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.public List<Metadata> getLicenseMetadata()
Information about the license.
public void setLicenseMetadata(Collection<Metadata> licenseMetadata)
Information about the license.
licenseMetadata
- Information about the license.public CreateLicenseRequest withLicenseMetadata(Metadata... licenseMetadata)
Information about the license.
NOTE: This method appends the values to the existing list (if any). Use
setLicenseMetadata(java.util.Collection)
or withLicenseMetadata(java.util.Collection)
if you
want to override the existing values.
licenseMetadata
- Information about the license.public CreateLicenseRequest withLicenseMetadata(Collection<Metadata> licenseMetadata)
Information about the license.
licenseMetadata
- Information about the license.public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateLicenseRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String toString()
toString
in class Object
Object.toString()
public CreateLicenseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()