All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.storageos.model.host.cluster.ClusterCreateParam Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2015 EMC Corporation
 * All Rights Reserved
 */
package com.emc.storageos.model.host.cluster;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Request POST parameter for cluster creation.
 */
@XmlRootElement(name = "cluster_create")
public class ClusterCreateParam extends ClusterParam {

    private String name;

    public ClusterCreateParam() {
    }

    public ClusterCreateParam(String name) {
        this.name = name;
    }

    /**
     * The name label for this cluster. It must be unique
     * within the tenant.
     * 
     * @valid none
     */
    @XmlElement(required = true)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String findName() {
        return name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy