@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class License extends Object implements Serializable, Cloneable, StructuredPojo
Software license that is managed in License Manager.
Constructor and Description |
---|
License() |
Modifier and Type | Method and Description |
---|---|
License |
clone() |
boolean |
equals(Object obj) |
String |
getBeneficiary()
License beneficiary.
|
ConsumptionConfiguration |
getConsumptionConfiguration()
Configuration for consumption of the license.
|
String |
getCreateTime()
License creation time.
|
List<Entitlement> |
getEntitlements()
License entitlements.
|
String |
getHomeRegion()
Home Region of the license.
|
IssuerDetails |
getIssuer()
License issuer.
|
String |
getLicenseArn()
Amazon Resource Name (ARN) of the license.
|
List<Metadata> |
getLicenseMetadata()
License metadata.
|
String |
getLicenseName()
License name.
|
String |
getProductName()
Product name.
|
String |
getProductSKU()
Product SKU.
|
String |
getStatus()
License status.
|
DatetimeRange |
getValidity()
Date and time range during which the license is valid, in ISO8601-UTC format.
|
String |
getVersion()
License version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBeneficiary(String beneficiary)
License beneficiary.
|
void |
setConsumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)
Configuration for consumption of the license.
|
void |
setCreateTime(String createTime)
License creation time.
|
void |
setEntitlements(Collection<Entitlement> entitlements)
License entitlements.
|
void |
setHomeRegion(String homeRegion)
Home Region of the license.
|
void |
setIssuer(IssuerDetails issuer)
License issuer.
|
void |
setLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
void |
setLicenseMetadata(Collection<Metadata> licenseMetadata)
License metadata.
|
void |
setLicenseName(String licenseName)
License name.
|
void |
setProductName(String productName)
Product name.
|
void |
setProductSKU(String productSKU)
Product SKU.
|
void |
setStatus(String status)
License status.
|
void |
setValidity(DatetimeRange validity)
Date and time range during which the license is valid, in ISO8601-UTC format.
|
void |
setVersion(String version)
License version.
|
String |
toString()
Returns a string representation of this object.
|
License |
withBeneficiary(String beneficiary)
License beneficiary.
|
License |
withConsumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)
Configuration for consumption of the license.
|
License |
withCreateTime(String createTime)
License creation time.
|
License |
withEntitlements(Collection<Entitlement> entitlements)
License entitlements.
|
License |
withEntitlements(Entitlement... entitlements)
License entitlements.
|
License |
withHomeRegion(String homeRegion)
Home Region of the license.
|
License |
withIssuer(IssuerDetails issuer)
License issuer.
|
License |
withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
License |
withLicenseMetadata(Collection<Metadata> licenseMetadata)
License metadata.
|
License |
withLicenseMetadata(Metadata... licenseMetadata)
License metadata.
|
License |
withLicenseName(String licenseName)
License name.
|
License |
withProductName(String productName)
Product name.
|
License |
withProductSKU(String productSKU)
Product SKU.
|
License |
withStatus(LicenseStatus status)
License status.
|
License |
withStatus(String status)
License status.
|
License |
withValidity(DatetimeRange validity)
Date and time range during which the license is valid, in ISO8601-UTC format.
|
License |
withVersion(String version)
License version.
|
public void setLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
licenseArn
- Amazon Resource Name (ARN) of the license.public String getLicenseArn()
Amazon Resource Name (ARN) of the license.
public License withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
licenseArn
- Amazon Resource Name (ARN) of the license.public void setLicenseName(String licenseName)
License name.
licenseName
- License name.public String getLicenseName()
License name.
public License withLicenseName(String licenseName)
License name.
licenseName
- License name.public void setProductName(String productName)
Product name.
productName
- Product name.public String getProductName()
Product name.
public License withProductName(String productName)
Product name.
productName
- Product name.public void setProductSKU(String productSKU)
Product SKU.
productSKU
- Product SKU.public String getProductSKU()
Product SKU.
public License withProductSKU(String productSKU)
Product SKU.
productSKU
- Product SKU.public void setIssuer(IssuerDetails issuer)
License issuer.
issuer
- License issuer.public IssuerDetails getIssuer()
License issuer.
public License withIssuer(IssuerDetails issuer)
License issuer.
issuer
- License issuer.public void setHomeRegion(String homeRegion)
Home Region of the license.
homeRegion
- Home Region of the license.public String getHomeRegion()
Home Region of the license.
public License withHomeRegion(String homeRegion)
Home Region of the license.
homeRegion
- Home Region of the license.public void setStatus(String status)
License status.
status
- License status.LicenseStatus
public String getStatus()
License status.
LicenseStatus
public License withStatus(String status)
License status.
status
- License status.LicenseStatus
public License withStatus(LicenseStatus status)
License status.
status
- License status.LicenseStatus
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 License 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 void setBeneficiary(String beneficiary)
License beneficiary.
beneficiary
- License beneficiary.public String getBeneficiary()
License beneficiary.
public License withBeneficiary(String beneficiary)
License beneficiary.
beneficiary
- License beneficiary.public List<Entitlement> getEntitlements()
License entitlements.
public void setEntitlements(Collection<Entitlement> entitlements)
License entitlements.
entitlements
- License entitlements.public License 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 License withEntitlements(Collection<Entitlement> entitlements)
License entitlements.
entitlements
- License entitlements.public void setConsumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)
Configuration for consumption of the license.
consumptionConfiguration
- Configuration for consumption of the license.public ConsumptionConfiguration getConsumptionConfiguration()
Configuration for consumption of the license.
public License withConsumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)
Configuration for consumption of the license.
consumptionConfiguration
- Configuration for consumption of the license.public List<Metadata> getLicenseMetadata()
License metadata.
public void setLicenseMetadata(Collection<Metadata> licenseMetadata)
License metadata.
licenseMetadata
- License metadata.public License withLicenseMetadata(Metadata... licenseMetadata)
License metadata.
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
- License metadata.public License withLicenseMetadata(Collection<Metadata> licenseMetadata)
License metadata.
licenseMetadata
- License metadata.public void setCreateTime(String createTime)
License creation time.
createTime
- License creation time.public String getCreateTime()
License creation time.
public License withCreateTime(String createTime)
License creation time.
createTime
- License creation time.public void setVersion(String version)
License version.
version
- License version.public String getVersion()
License version.
public License withVersion(String version)
License version.
version
- License version.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.