public final class ContainerCluster
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
ContainerCluster.Builder
Builder class for
ContainerCluster . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
CLUSTER_TYPE_AKS |
static java.lang.String |
CLUSTER_TYPE_EKS |
static java.lang.String |
CLUSTER_TYPE_GARDENER |
static java.lang.String |
CLUSTER_TYPE_GKE |
static java.lang.String |
CLUSTER_TYPE_KUBERNETES |
static java.lang.String |
CLUSTER_TYPE_OPENSHIFT |
static java.lang.String |
CLUSTER_TYPE_OTHER |
static java.lang.String |
CLUSTER_TYPE_PAS |
static java.lang.String |
CLUSTER_TYPE_PKS |
static java.lang.String |
CLUSTER_TYPE_RANCHER |
static java.lang.String |
CLUSTER_TYPE_TAS |
static java.lang.String |
CLUSTER_TYPE_TKGI |
static java.lang.String |
CLUSTER_TYPE_TKGM |
static java.lang.String |
CLUSTER_TYPE_WCP |
static java.lang.String |
CLUSTER_TYPE_WCP_GUEST |
static java.lang.String |
CNI_TYPE_ANTREA |
static java.lang.String |
CNI_TYPE_NCP |
static java.lang.String |
CNI_TYPE_OTHER |
static java.lang.String |
NETWORK_STATUS_HEALTHY |
static java.lang.String |
NETWORK_STATUS_UNHEALTHY |
Modifier | Constructor and Description |
---|---|
|
ContainerCluster()
Default constructor.
|
protected |
ContainerCluster(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static ContainerCluster |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static ContainerCluster |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getClusterIpRanges()
In case of Kubernetes container cluster, it specifies CIDRs that will be
assigned to services created on Kubernetes.
|
java.lang.String |
getClusterType()
Possible values are:
CLUSTER_TYPE_PAS CLUSTER_TYPE_PKS CLUSTER_TYPE_KUBERNETES CLUSTER_TYPE_OPENSHIFT CLUSTER_TYPE_WCP CLUSTER_TYPE_WCP_GUEST CLUSTER_TYPE_AKS CLUSTER_TYPE_EKS CLUSTER_TYPE_TKGM CLUSTER_TYPE_TKGI CLUSTER_TYPE_GKE CLUSTER_TYPE_GARDENER CLUSTER_TYPE_RANCHER CLUSTER_TYPE_TAS CLUSTER_TYPE_OTHER Type of the
container cluster. |
java.lang.String |
getCniType()
Possible values are:
CNI_TYPE_NCP CNI_TYPE_ANTREA CNI_TYPE_OTHER Specifies
Container Network Interface type for container cluster. |
java.lang.String |
getDescription()
Description of this resource
|
java.lang.String |
getDisplayName()
Defaults to ID if not set
|
java.lang.String |
getExternalId()
External identifier of the container cluster.
|
ContainerInfrastructureInfo |
getInfrastructure() |
java.lang.Long |
getLastSyncTime()
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.util.List<ResourceLink> |
getLinks()
The server will populate this field when returing the resource.
|
java.util.List<NetworkError> |
getNetworkErrors()
List of network errors related to container cluster.
|
java.lang.String |
getNetworkStatus()
Possible values are:
NETWORK_STATUS_HEALTHY NETWORK_STATUS_UNHEALTHY
Network status of container cluster. |
java.lang.String |
getNodePortLocalRange()
Specifies the port range to be used for NodePortLocal services.
|
java.lang.String |
getNodePortRange()
In case of Kubernetes container cluster, it specifies port range to be used for
Kubernetes services created with the type NodePort.
|
java.util.List<KeyValuePair> |
getOriginProperties()
Array of additional specific properties of container cluster in key-value
format.
|
java.lang.String |
getResourceType()
The type of this resource.
|
java.lang.String |
getSchema()
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.util.List<DiscoveredResourceScope> |
getScope()
Specifies list of scope of discovered resource.
|
SelfResourceLink |
getSelf() |
java.lang.String |
getSupervisorProjectId()
Specifies supervisor container project identifier for cluster.
|
java.util.List<Tag> |
getTags()
Opaque identifiers meaningful to the API user
|
int |
hashCode() |
void |
setClusterIpRanges(java.util.List<java.lang.String> clusterIpRanges)
In case of Kubernetes container cluster, it specifies CIDRs that will be
assigned to services created on Kubernetes.
|
void |
setClusterType(java.lang.String clusterType)
Possible values are:
CLUSTER_TYPE_PAS CLUSTER_TYPE_PKS CLUSTER_TYPE_KUBERNETES CLUSTER_TYPE_OPENSHIFT CLUSTER_TYPE_WCP CLUSTER_TYPE_WCP_GUEST CLUSTER_TYPE_AKS CLUSTER_TYPE_EKS CLUSTER_TYPE_TKGM CLUSTER_TYPE_TKGI CLUSTER_TYPE_GKE CLUSTER_TYPE_GARDENER CLUSTER_TYPE_RANCHER CLUSTER_TYPE_TAS CLUSTER_TYPE_OTHER Type of the
container cluster. |
void |
setCniType(java.lang.String cniType)
Possible values are:
CNI_TYPE_NCP CNI_TYPE_ANTREA CNI_TYPE_OTHER Specifies
Container Network Interface type for container cluster. |
void |
setDescription(java.lang.String description)
Description of this resource
|
void |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
void |
setExternalId(java.lang.String externalId)
External identifier of the container cluster.
|
void |
setInfrastructure(ContainerInfrastructureInfo infrastructure) |
void |
setLastSyncTime(java.lang.Long lastSyncTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
void |
setNetworkErrors(java.util.List<NetworkError> networkErrors)
List of network errors related to container cluster.
|
void |
setNetworkStatus(java.lang.String networkStatus)
Possible values are:
NETWORK_STATUS_HEALTHY NETWORK_STATUS_UNHEALTHY
Network status of container cluster. |
void |
setNodePortLocalRange(java.lang.String nodePortLocalRange)
Specifies the port range to be used for NodePortLocal services.
|
void |
setNodePortRange(java.lang.String nodePortRange)
In case of Kubernetes container cluster, it specifies port range to be used for
Kubernetes services created with the type NodePort.
|
void |
setOriginProperties(java.util.List<KeyValuePair> originProperties)
Array of additional specific properties of container cluster in key-value
format.
|
void |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
void |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setScope(java.util.List<DiscoveredResourceScope> scope)
Specifies list of scope of discovered resource.
|
void |
setSelf(SelfResourceLink self) |
void |
setSupervisorProjectId(java.lang.String supervisorProjectId)
Specifies supervisor container project identifier for cluster.
|
void |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
java.lang.String |
toString() |
public static final java.lang.String CLUSTER_TYPE_PAS
public static final java.lang.String CLUSTER_TYPE_PKS
public static final java.lang.String CLUSTER_TYPE_KUBERNETES
public static final java.lang.String CLUSTER_TYPE_OPENSHIFT
public static final java.lang.String CLUSTER_TYPE_WCP
public static final java.lang.String CLUSTER_TYPE_WCP_GUEST
public static final java.lang.String CLUSTER_TYPE_AKS
public static final java.lang.String CLUSTER_TYPE_EKS
public static final java.lang.String CLUSTER_TYPE_TKGM
public static final java.lang.String CLUSTER_TYPE_TKGI
public static final java.lang.String CLUSTER_TYPE_GKE
public static final java.lang.String CLUSTER_TYPE_GARDENER
public static final java.lang.String CLUSTER_TYPE_RANCHER
public static final java.lang.String CLUSTER_TYPE_TAS
public static final java.lang.String CLUSTER_TYPE_OTHER
public static final java.lang.String CNI_TYPE_NCP
public static final java.lang.String CNI_TYPE_ANTREA
public static final java.lang.String CNI_TYPE_OTHER
public static final java.lang.String NETWORK_STATUS_HEALTHY
public static final java.lang.String NETWORK_STATUS_UNHEALTHY
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public ContainerCluster()
protected ContainerCluster(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.util.List<ResourceLink> getLinks()
public void setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public java.lang.String getSchema()
public void setSchema(java.lang.String schema)
schema
- New value for the property.public SelfResourceLink getSelf()
public void setSelf(SelfResourceLink self)
self
- New value for the property.public java.lang.Long getLastSyncTime()
public void setLastSyncTime(java.lang.Long lastSyncTime)
lastSyncTime
- New value for the property.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- New value for the property.public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public java.lang.String getResourceType()
public void setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public java.util.List<DiscoveredResourceScope> getScope()
public void setScope(java.util.List<DiscoveredResourceScope> scope)
scope
- New value for the property.public java.util.List<Tag> getTags()
public void setTags(java.util.List<Tag> tags)
tags
- New value for the property.public java.util.List<java.lang.String> getClusterIpRanges()
public void setClusterIpRanges(java.util.List<java.lang.String> clusterIpRanges)
clusterIpRanges
- New value for the property.public java.lang.String getClusterType()
public void setClusterType(java.lang.String clusterType)
clusterType
- New value for the property.public java.lang.String getCniType()
public void setCniType(java.lang.String cniType)
cniType
- New value for the property.public java.lang.String getExternalId()
public void setExternalId(java.lang.String externalId)
externalId
- New value for the property.public ContainerInfrastructureInfo getInfrastructure()
public void setInfrastructure(ContainerInfrastructureInfo infrastructure)
infrastructure
- New value for the property.public java.util.List<NetworkError> getNetworkErrors()
public void setNetworkErrors(java.util.List<NetworkError> networkErrors)
networkErrors
- New value for the property.public java.lang.String getNetworkStatus()
public void setNetworkStatus(java.lang.String networkStatus)
networkStatus
- New value for the property.public java.lang.String getNodePortLocalRange()
public void setNodePortLocalRange(java.lang.String nodePortLocalRange)
nodePortLocalRange
- New value for the property.public java.lang.String getNodePortRange()
public void setNodePortRange(java.lang.String nodePortRange)
nodePortRange
- New value for the property.public java.util.List<KeyValuePair> getOriginProperties()
public void setOriginProperties(java.util.List<KeyValuePair> originProperties)
originProperties
- New value for the property.public java.lang.String getSupervisorProjectId()
public void setSupervisorProjectId(java.lang.String supervisorProjectId)
supervisorProjectId
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static ContainerCluster _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static ContainerCluster _newInstance2(com.vmware.vapi.data.StructValue structValue)