Class SaharaCluster
- java.lang.Object
-
- org.openstack4j.openstack.sahara.domain.SaharaCluster
-
- All Implemented Interfaces:
Serializable,Buildable<ClusterBuilder>,ModelEntity,Cluster
public class SaharaCluster extends Object implements Cluster
For mapping JSON response to/from java objects- Author:
- ekasit.kijsipongse@nectec.or.th
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSaharaCluster.Clustersstatic classSaharaCluster.ConcreteClusterBuilder-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
Nested classes/interfaces inherited from interface org.openstack4j.model.sahara.Cluster
Cluster.Status
-
-
Constructor Summary
Constructors Constructor Description SaharaCluster()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterBuilderbuilder()List<String>getAntiAffinity()Map<String,? extends ServiceConfig>getClusterConfigs()StringgetClusterTemplateId()DategetCreatedAt()StringgetDefaultImageId()StringgetDescription()StringgetHadoopVersion()StringgetId()Map<String,? extends ServiceInfo>getInfos()StringgetManagementNetworkId()StringgetManagementPublicKey()StringgetName()List<? extends NodeGroup>getNodeGroups()StringgetPluginName()Cluster.StatusgetStatus()StringgetStatusDescription()StringgetTenantId()StringgetTrustId()DategetUpdatedAt()StringgetUserKeypairId()BooleanisTransient()ClusterBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static ClusterBuilder builder()
- Returns:
- the cluster Builder
-
getStatus
public Cluster.Status getStatus()
-
getInfos
public Map<String,? extends ServiceInfo> getInfos()
-
getClusterTemplateId
public String getClusterTemplateId()
- Specified by:
getClusterTemplateIdin interfaceCluster- Returns:
- the template id of the cluster
-
isTransient
public Boolean isTransient()
- Specified by:
isTransientin interfaceCluster- Returns:
- the if the cluster is transient
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceCluster- Returns:
- the description of the cluster
-
getClusterConfigs
public Map<String,? extends ServiceConfig> getClusterConfigs()
- Specified by:
getClusterConfigsin interfaceCluster- Returns:
- the configurations of the cluster
-
getCreatedAt
public Date getCreatedAt()
- Specified by:
getCreatedAtin interfaceCluster- Returns:
- the created date of the cluster
-
getDefaultImageId
public String getDefaultImageId()
- Specified by:
getDefaultImageIdin interfaceCluster- Returns:
- the default image id of the cluster
-
getUserKeypairId
public String getUserKeypairId()
- Specified by:
getUserKeypairIdin interfaceCluster- Returns:
- the user keypair id of the cluster
-
getUpdatedAt
public Date getUpdatedAt()
- Specified by:
getUpdatedAtin interfaceCluster- Returns:
- the updated date of the cluster
-
getPluginName
public String getPluginName()
- Specified by:
getPluginNamein interfaceCluster- Returns:
- the plugin name of the cluster
-
getManagementNetworkId
public String getManagementNetworkId()
- Specified by:
getManagementNetworkIdin interfaceCluster- Returns:
- the management network of the cluster
-
getAntiAffinity
public List<String> getAntiAffinity()
- Specified by:
getAntiAffinityin interfaceCluster- Returns:
- the anti-affinity of the cluster
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceCluster- Returns:
- the tenant id of the cluster
-
getNodeGroups
public List<? extends NodeGroup> getNodeGroups()
- Specified by:
getNodeGroupsin interfaceCluster- Returns:
- the node groups of the cluster
-
getManagementPublicKey
public String getManagementPublicKey()
- Specified by:
getManagementPublicKeyin interfaceCluster- Returns:
- the management public key of the cluster
-
getStatusDescription
public String getStatusDescription()
- Specified by:
getStatusDescriptionin interfaceCluster- Returns:
- the status description of the cluster
-
getHadoopVersion
public String getHadoopVersion()
- Specified by:
getHadoopVersionin interfaceCluster- Returns:
- the hadoop version of the cluster
-
getId
public String getId()
-
getTrustId
public String getTrustId()
- Specified by:
getTrustIdin interfaceCluster- Returns:
- the trust id of the cluster
-
getName
public String getName()
-
toBuilder
public ClusterBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<ClusterBuilder>
-
-