@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLicenseVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLicenseVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLicenseVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
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 of the license.
|
Issuer |
getIssuer()
License issuer.
|
String |
getLicenseArn()
Amazon Resource Name (ARN) of the license.
|
List<Metadata> |
getLicenseMetadata()
Information about the license.
|
String |
getLicenseName()
License name.
|
String |
getProductName()
Product name.
|
String |
getSourceVersion()
Current version of the license.
|
String |
getStatus()
License status.
|
DatetimeRange |
getValidity()
Date and time range during which the license is valid, in ISO8601-UTC format.
|
int |
hashCode() |
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 of the license.
|
void |
setIssuer(Issuer issuer)
License issuer.
|
void |
setLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
void |
setLicenseMetadata(Collection<Metadata> licenseMetadata)
Information about the license.
|
void |
setLicenseName(String licenseName)
License name.
|
void |
setProductName(String productName)
Product name.
|
void |
setSourceVersion(String sourceVersion)
Current version of the license.
|
void |
setStatus(String status)
License status.
|
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.
|
CreateLicenseVersionRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateLicenseVersionRequest |
withConsumptionConfiguration(ConsumptionConfiguration consumptionConfiguration)
Configuration for consumption of the license.
|
CreateLicenseVersionRequest |
withEntitlements(Collection<Entitlement> entitlements)
License entitlements.
|
CreateLicenseVersionRequest |
withEntitlements(Entitlement... entitlements)
License entitlements.
|
CreateLicenseVersionRequest |
withHomeRegion(String homeRegion)
Home Region of the license.
|
CreateLicenseVersionRequest |
withIssuer(Issuer issuer)
License issuer.
|
CreateLicenseVersionRequest |
withLicenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
|
CreateLicenseVersionRequest |
withLicenseMetadata(Collection<Metadata> licenseMetadata)
Information about the license.
|
CreateLicenseVersionRequest |
withLicenseMetadata(Metadata... licenseMetadata)
Information about the license.
|
CreateLicenseVersionRequest |
withLicenseName(String licenseName)
License name.
|
CreateLicenseVersionRequest |
withProductName(String productName)
Product name.
|
CreateLicenseVersionRequest |
withSourceVersion(String sourceVersion)
Current version of the license.
|
CreateLicenseVersionRequest |
withStatus(LicenseStatus status)
License status.
|
CreateLicenseVersionRequest |
withStatus(String status)
License status.
|
CreateLicenseVersionRequest |
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 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 CreateLicenseVersionRequest 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 CreateLicenseVersionRequest withLicenseName(String licenseName)
License name.
licenseName
- License name.public void setProductName(String productName)
Product name.
productName
- Product name.public String getProductName()
Product name.
public CreateLicenseVersionRequest withProductName(String productName)
Product name.
productName
- Product name.public void setIssuer(Issuer issuer)
License issuer.
issuer
- License issuer.public Issuer getIssuer()
License issuer.
public CreateLicenseVersionRequest withIssuer(Issuer 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 CreateLicenseVersionRequest withHomeRegion(String homeRegion)
Home Region of the license.
homeRegion
- Home Region of 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 CreateLicenseVersionRequest 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<Metadata> getLicenseMetadata()
Information about the license.
public void setLicenseMetadata(Collection<Metadata> licenseMetadata)
Information about the license.
licenseMetadata
- Information about the license.public CreateLicenseVersionRequest 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 CreateLicenseVersionRequest withLicenseMetadata(Collection<Metadata> licenseMetadata)
Information about the license.
licenseMetadata
- Information about the license.public List<Entitlement> getEntitlements()
License entitlements.
public void setEntitlements(Collection<Entitlement> entitlements)
License entitlements.
entitlements
- License entitlements.public CreateLicenseVersionRequest 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 CreateLicenseVersionRequest withEntitlements(Collection<Entitlement> entitlements)
License entitlements.
entitlements
- License entitlements.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 CreateLicenseVersionRequest 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 void setStatus(String status)
License status.
status
- License status.LicenseStatus
public String getStatus()
License status.
LicenseStatus
public CreateLicenseVersionRequest withStatus(String status)
License status.
status
- License status.LicenseStatus
public CreateLicenseVersionRequest withStatus(LicenseStatus status)
License status.
status
- License status.LicenseStatus
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 CreateLicenseVersionRequest 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 void setSourceVersion(String sourceVersion)
Current version of the license.
sourceVersion
- Current version of the license.public String getSourceVersion()
Current version of the license.
public CreateLicenseVersionRequest withSourceVersion(String sourceVersion)
Current version of the license.
sourceVersion
- Current version of the license.public String toString()
toString
in class Object
Object.toString()
public CreateLicenseVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()