Class SaharaClusterTemplate
- java.lang.Object
-
- org.openstack4j.openstack.sahara.domain.SaharaClusterTemplate
-
- All Implemented Interfaces:
Serializable,Buildable<ClusterTemplateBuilder>,ModelEntity,ClusterTemplate
public class SaharaClusterTemplate extends Object implements ClusterTemplate
An OpenStack Sahara- Author:
- Ekasit Kijsipongse
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSaharaClusterTemplate.ClusterTemplatesstatic classSaharaClusterTemplate.ConcreteClusterTemplateBuilder-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description SaharaClusterTemplate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterTemplateBuilderbuilder()List<String>getAntiAffinity()Map<String,? extends ServiceConfig>getClusterConfigs()DategetCreatedAt()StringgetDefaultImageId()StringgetDescription()StringgetHadoopVersion()StringgetId()StringgetManagementNetworkId()StringgetName()List<? extends NodeGroup>getNodeGroups()StringgetPluginName()StringgetTenantId()DategetUpdatedAt()ClusterTemplateBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static ClusterTemplateBuilder builder()
- Returns:
- the cluster template Builder
-
toBuilder
public ClusterTemplateBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<ClusterTemplateBuilder>
-
getHadoopVersion
public String getHadoopVersion()
- Specified by:
getHadoopVersionin interfaceClusterTemplate- Returns:
- the hadoop version
-
getDefaultImageId
public String getDefaultImageId()
- Specified by:
getDefaultImageIdin interfaceClusterTemplate- Returns:
- the default image identifier
-
getName
public String getName()
- Specified by:
getNamein interfaceClusterTemplate- Returns:
- the name of the node group template
-
getUpdatedAt
public Date getUpdatedAt()
- Specified by:
getUpdatedAtin interfaceClusterTemplate- Returns:
- the updated date
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceClusterTemplate- Returns:
- the tenant ID
-
getPluginName
public String getPluginName()
- Specified by:
getPluginNamein interfaceClusterTemplate- Returns:
- the plugin name
-
getAntiAffinity
public List<String> getAntiAffinity()
- Specified by:
getAntiAffinityin interfaceClusterTemplate- Returns:
- the list of anti affinity
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceClusterTemplate- Returns:
- the description of the node group template
-
getId
public String getId()
- Specified by:
getIdin interfaceClusterTemplate- Returns:
- the identifier
-
getNodeGroups
public List<? extends NodeGroup> getNodeGroups()
- Specified by:
getNodeGroupsin interfaceClusterTemplate- Returns:
- the list of node groups
-
getManagementNetworkId
public String getManagementNetworkId()
- Specified by:
getManagementNetworkIdin interfaceClusterTemplate- Returns:
- the id of neutron management network
-
getCreatedAt
public Date getCreatedAt()
- Specified by:
getCreatedAtin interfaceClusterTemplate- Returns:
- the created date
-
getClusterConfigs
public Map<String,? extends ServiceConfig> getClusterConfigs()
- Specified by:
getClusterConfigsin interfaceClusterTemplate- Returns:
- map of cluster configurations or null
-
-