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

com.emc.storageos.model.vpool.VirtualPoolProtectionMirrorRestRep Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2008-2013 EMC Corporation
 * All Rights Reserved
 */
package com.emc.storageos.model.vpool;

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

@XmlRootElement(name = "mirror")
@XmlAccessorType(XmlAccessType.PROPERTY)
public class VirtualPoolProtectionMirrorRestRep {
    private String type;
    private String placementVpool;
    private String haPlacementVpool;

    public VirtualPoolProtectionMirrorRestRep() {
    }

    public VirtualPoolProtectionMirrorRestRep(String type, String placementVpool, String haPlacementVpool) {
        this.type = type;
        this.placementVpool = placementVpool;
        this.haPlacementVpool = haPlacementVpool;
    }

    /**
     * The mirror protection type.
     * 
     * @valid none
     * 
     * @return The mirror protection type.
     */
    @XmlElement(name = "type")
    public String getType() {
        return type;
    }

    /**
     * The mirror protection virtual pool.
     * 
     * @valid none
     * 
     * @return The mirror protection virtual pool.
     */
    @XmlElement(name = "protection_mirror_vpool")
    public String getPlacementVpool() {
        return placementVpool;
    }

    public void setPlacementVpool(String placementVpool) {
        this.placementVpool = placementVpool;
    }

    /**
     * The High Availability mirror protection virtual pool.
     * 
     * @valid none
     * 
     * @return The High Availability mirror protection virtual pool.
     */
    @XmlElement(name = "ha_protection_mirror_vpool")
    public String getHaPlacementVpool() {
        return haPlacementVpool;
    }

    public void setHaPlacementVpool(String haPlacementVpool) {
        this.haPlacementVpool = haPlacementVpool;
    }

    public void setType(String type) {
        this.type = type;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy