@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEksAnywhereSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEksAnywhereSubscriptionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEksAnywhereSubscriptionRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateEksAnywhereSubscriptionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateEksAnywhereSubscriptionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAutoRenew()
A boolean indicating whether the subscription auto renews at the end of the term.
|
String |
getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
Integer |
getLicenseQuantity()
The number of licenses to purchase with the subscription.
|
String |
getLicenseType()
The license type for all licenses in the subscription.
|
String |
getName()
The unique name for your subscription.
|
Map<String,String> |
getTags()
The metadata for a subscription to assist with categorization and organization.
|
EksAnywhereSubscriptionTerm |
getTerm()
An object representing the term duration and term unit type of your subscription.
|
int |
hashCode() |
Boolean |
isAutoRenew()
A boolean indicating whether the subscription auto renews at the end of the term.
|
void |
setAutoRenew(Boolean autoRenew)
A boolean indicating whether the subscription auto renews at the end of the term.
|
void |
setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setLicenseQuantity(Integer licenseQuantity)
The number of licenses to purchase with the subscription.
|
void |
setLicenseType(String licenseType)
The license type for all licenses in the subscription.
|
void |
setName(String name)
The unique name for your subscription.
|
void |
setTags(Map<String,String> tags)
The metadata for a subscription to assist with categorization and organization.
|
void |
setTerm(EksAnywhereSubscriptionTerm term)
An object representing the term duration and term unit type of your subscription.
|
String |
toString()
Returns a string representation of this object.
|
CreateEksAnywhereSubscriptionRequest |
withAutoRenew(Boolean autoRenew)
A boolean indicating whether the subscription auto renews at the end of the term.
|
CreateEksAnywhereSubscriptionRequest |
withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateEksAnywhereSubscriptionRequest |
withLicenseQuantity(Integer licenseQuantity)
The number of licenses to purchase with the subscription.
|
CreateEksAnywhereSubscriptionRequest |
withLicenseType(EksAnywhereSubscriptionLicenseType licenseType)
The license type for all licenses in the subscription.
|
CreateEksAnywhereSubscriptionRequest |
withLicenseType(String licenseType)
The license type for all licenses in the subscription.
|
CreateEksAnywhereSubscriptionRequest |
withName(String name)
The unique name for your subscription.
|
CreateEksAnywhereSubscriptionRequest |
withTags(Map<String,String> tags)
The metadata for a subscription to assist with categorization and organization.
|
CreateEksAnywhereSubscriptionRequest |
withTerm(EksAnywhereSubscriptionTerm term)
An object representing the term duration and term unit type of your subscription.
|
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 CreateEksAnywhereSubscriptionRequest()
public void setName(String name)
The unique name for your subscription. It must be unique in your Amazon Web Services account in the Amazon Web Services Region you're creating the subscription in. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphabetic character and can't be longer than 100 characters.
name
- The unique name for your subscription. It must be unique in your Amazon Web Services account in the Amazon
Web Services Region you're creating the subscription in. The name can contain only alphanumeric characters
(case-sensitive), hyphens, and underscores. It must start with an alphabetic character and can't be longer
than 100 characters.public String getName()
The unique name for your subscription. It must be unique in your Amazon Web Services account in the Amazon Web Services Region you're creating the subscription in. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphabetic character and can't be longer than 100 characters.
public CreateEksAnywhereSubscriptionRequest withName(String name)
The unique name for your subscription. It must be unique in your Amazon Web Services account in the Amazon Web Services Region you're creating the subscription in. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphabetic character and can't be longer than 100 characters.
name
- The unique name for your subscription. It must be unique in your Amazon Web Services account in the Amazon
Web Services Region you're creating the subscription in. The name can contain only alphanumeric characters
(case-sensitive), hyphens, and underscores. It must start with an alphabetic character and can't be longer
than 100 characters.public void setTerm(EksAnywhereSubscriptionTerm term)
An object representing the term duration and term unit type of your subscription. This determines the term length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration, indicating a 12 month or 36 month subscription. This value cannot be changed after creating the subscription.
term
- An object representing the term duration and term unit type of your subscription. This determines the term
length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration,
indicating a 12 month or 36 month subscription. This value cannot be changed after creating the
subscription.public EksAnywhereSubscriptionTerm getTerm()
An object representing the term duration and term unit type of your subscription. This determines the term length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration, indicating a 12 month or 36 month subscription. This value cannot be changed after creating the subscription.
public CreateEksAnywhereSubscriptionRequest withTerm(EksAnywhereSubscriptionTerm term)
An object representing the term duration and term unit type of your subscription. This determines the term length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration, indicating a 12 month or 36 month subscription. This value cannot be changed after creating the subscription.
term
- An object representing the term duration and term unit type of your subscription. This determines the term
length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration,
indicating a 12 month or 36 month subscription. This value cannot be changed after creating the
subscription.public void setLicenseQuantity(Integer licenseQuantity)
The number of licenses to purchase with the subscription. Valid values are between 1 and 100. This value can't be changed after creating the subscription.
licenseQuantity
- The number of licenses to purchase with the subscription. Valid values are between 1 and 100. This value
can't be changed after creating the subscription.public Integer getLicenseQuantity()
The number of licenses to purchase with the subscription. Valid values are between 1 and 100. This value can't be changed after creating the subscription.
public CreateEksAnywhereSubscriptionRequest withLicenseQuantity(Integer licenseQuantity)
The number of licenses to purchase with the subscription. Valid values are between 1 and 100. This value can't be changed after creating the subscription.
licenseQuantity
- The number of licenses to purchase with the subscription. Valid values are between 1 and 100. This value
can't be changed after creating the subscription.public void setLicenseType(String licenseType)
The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.
licenseType
- The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license
type, each license covers support for a single EKS Anywhere cluster.EksAnywhereSubscriptionLicenseType
public String getLicenseType()
The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.
EksAnywhereSubscriptionLicenseType
public CreateEksAnywhereSubscriptionRequest withLicenseType(String licenseType)
The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.
licenseType
- The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license
type, each license covers support for a single EKS Anywhere cluster.EksAnywhereSubscriptionLicenseType
public CreateEksAnywhereSubscriptionRequest withLicenseType(EksAnywhereSubscriptionLicenseType licenseType)
The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.
licenseType
- The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license
type, each license covers support for a single EKS Anywhere cluster.EksAnywhereSubscriptionLicenseType
public void setAutoRenew(Boolean autoRenew)
A boolean indicating whether the subscription auto renews at the end of the term.
autoRenew
- A boolean indicating whether the subscription auto renews at the end of the term.public Boolean getAutoRenew()
A boolean indicating whether the subscription auto renews at the end of the term.
public CreateEksAnywhereSubscriptionRequest withAutoRenew(Boolean autoRenew)
A boolean indicating whether the subscription auto renews at the end of the term.
autoRenew
- A boolean indicating whether the subscription auto renews at the end of the term.public Boolean isAutoRenew()
A boolean indicating whether the subscription auto renews at the end of the term.
public void setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateEksAnywhereSubscriptionRequest withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public Map<String,String> getTags()
The metadata for a subscription to assist with categorization and organization. Each tag consists of a key and an optional value. Subscription tags don't propagate to any other resources associated with the subscription.
public void setTags(Map<String,String> tags)
The metadata for a subscription to assist with categorization and organization. Each tag consists of a key and an optional value. Subscription tags don't propagate to any other resources associated with the subscription.
tags
- The metadata for a subscription to assist with categorization and organization. Each tag consists of a key
and an optional value. Subscription tags don't propagate to any other resources associated with the
subscription.public CreateEksAnywhereSubscriptionRequest withTags(Map<String,String> tags)
The metadata for a subscription to assist with categorization and organization. Each tag consists of a key and an optional value. Subscription tags don't propagate to any other resources associated with the subscription.
tags
- The metadata for a subscription to assist with categorization and organization. Each tag consists of a key
and an optional value. Subscription tags don't propagate to any other resources associated with the
subscription.public CreateEksAnywhereSubscriptionRequest addTagsEntry(String key, String value)
public CreateEksAnywhereSubscriptionRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateEksAnywhereSubscriptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()