com.emc.storageos.model.vpool.ComputeVirtualPoolAssignments Maven / Gradle / Ivy
/*
* Copyright (c) 2008-2013 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.vpool;
import org.codehaus.jackson.annotate.JsonProperty;
import javax.xml.bind.annotation.XmlElement;
import java.util.HashSet;
import java.util.Set;
/**
* Class captures a list of URIs for the compute elements assigned during
* virtual compute pool update.
*/
public class ComputeVirtualPoolAssignments {
private Set computeElements;
/**
* Default Constructor.
*/
public ComputeVirtualPoolAssignments() {
}
public ComputeVirtualPoolAssignments(Set computeElements) {
this.computeElements = computeElements;
}
/**
* The list of compute elements to be added to or removed from the compute virtual pool
*
* @valid none
*/
@XmlElement(name = "compute_element")
@JsonProperty("compute_element")
public Set getComputeElements() {
if (computeElements == null) {
computeElements = new HashSet();
}
return computeElements;
}
public void setComputeElements(Set computeElements) {
this.computeElements = computeElements;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy