@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Compatibility extends Object implements Serializable, Cloneable, StructuredPojo
Compatibility information.
| Constructor and Description |
|---|
Compatibility() |
| Modifier and Type | Method and Description |
|---|---|
Compatibility |
clone() |
boolean |
equals(Object obj) |
String |
getClusterVersion()
The supported Kubernetes version of the cluster.
|
Boolean |
getDefaultVersion()
The supported default version.
|
List<String> |
getPlatformVersions()
The supported compute platform.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
The supported default version.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setClusterVersion(String clusterVersion)
The supported Kubernetes version of the cluster.
|
void |
setDefaultVersion(Boolean defaultVersion)
The supported default version.
|
void |
setPlatformVersions(Collection<String> platformVersions)
The supported compute platform.
|
String |
toString()
Returns a string representation of this object.
|
Compatibility |
withClusterVersion(String clusterVersion)
The supported Kubernetes version of the cluster.
|
Compatibility |
withDefaultVersion(Boolean defaultVersion)
The supported default version.
|
Compatibility |
withPlatformVersions(Collection<String> platformVersions)
The supported compute platform.
|
Compatibility |
withPlatformVersions(String... platformVersions)
The supported compute platform.
|
public void setClusterVersion(String clusterVersion)
The supported Kubernetes version of the cluster.
clusterVersion - The supported Kubernetes version of the cluster.public String getClusterVersion()
The supported Kubernetes version of the cluster.
public Compatibility withClusterVersion(String clusterVersion)
The supported Kubernetes version of the cluster.
clusterVersion - The supported Kubernetes version of the cluster.public List<String> getPlatformVersions()
The supported compute platform.
public void setPlatformVersions(Collection<String> platformVersions)
The supported compute platform.
platformVersions - The supported compute platform.public Compatibility withPlatformVersions(String... platformVersions)
The supported compute platform.
NOTE: This method appends the values to the existing list (if any). Use
setPlatformVersions(java.util.Collection) or withPlatformVersions(java.util.Collection) if you
want to override the existing values.
platformVersions - The supported compute platform.public Compatibility withPlatformVersions(Collection<String> platformVersions)
The supported compute platform.
platformVersions - The supported compute platform.public void setDefaultVersion(Boolean defaultVersion)
The supported default version.
defaultVersion - The supported default version.public Boolean getDefaultVersion()
The supported default version.
public Compatibility withDefaultVersion(Boolean defaultVersion)
The supported default version.
defaultVersion - The supported default version.public Boolean isDefaultVersion()
The supported default version.
public String toString()
toString in class ObjectObject.toString()public Compatibility clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.