blob: 4f0ec9d06e605fb36c42880b7b4463a818dedd65 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.01.04 at 04:15:49 PM GMT
//
package org.apache.taverna.server.usagerecord.xml.urf2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.Duration;
/**
* Open Grid Forum GFD.204 Usage Record type <code>CloudUsageBlock</code>
*
* @see <a href="https://www.ogf.org/documents/GFD.204.pdf#section.9">GFD.204 section 9</a>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CloudUsageBlockType", propOrder = {
"localVirtualMachineId",
"globalVirtualMachineId",
"status",
"suspendDuration",
"imageId",
"machineName",
"submitHost",
"timeInstant",
"serviceLevel"
})
public class CloudUsageBlockType {
@XmlElement(name = "LocalVirtualMachineId")
protected String localVirtualMachineId;
@XmlElement(name = "GlobalVirtualMachineId")
protected String globalVirtualMachineId;
@XmlElement(name = "Status", required = true)
protected String status;
@XmlElement(name = "SuspendDuration")
protected Duration suspendDuration;
@XmlElement(name = "ImageId")
protected String imageId;
@XmlElement(name = "MachineName")
protected String machineName;
@XmlElement(name = "SubmitHost")
protected String submitHost;
@XmlElement(name = "TimeInstant")
protected List<TimeInstantType> timeInstant;
@XmlElement(name = "ServiceLevel")
protected String serviceLevel;
/**
* Gets the value of the localVirtualMachineId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocalVirtualMachineId() {
return localVirtualMachineId;
}
/**
* Sets the value of the localVirtualMachineId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocalVirtualMachineId(String value) {
this.localVirtualMachineId = value;
}
/**
* Gets the value of the globalVirtualMachineId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGlobalVirtualMachineId() {
return globalVirtualMachineId;
}
/**
* Sets the value of the globalVirtualMachineId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGlobalVirtualMachineId(String value) {
this.globalVirtualMachineId = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the suspendDuration property.
*
* @return
* possible object is
* {@link Duration }
*
*/
public Duration getSuspendDuration() {
return suspendDuration;
}
/**
* Sets the value of the suspendDuration property.
*
* @param value
* allowed object is
* {@link Duration }
*
*/
public void setSuspendDuration(Duration value) {
this.suspendDuration = value;
}
/**
* Gets the value of the imageId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getImageId() {
return imageId;
}
/**
* Sets the value of the imageId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setImageId(String value) {
this.imageId = value;
}
/**
* Gets the value of the machineName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMachineName() {
return machineName;
}
/**
* Sets the value of the machineName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMachineName(String value) {
this.machineName = value;
}
/**
* Gets the value of the submitHost property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubmitHost() {
return submitHost;
}
/**
* Sets the value of the submitHost property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSubmitHost(String value) {
this.submitHost = value;
}
/**
* Gets the value of the timeInstant property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the timeInstant property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTimeInstant().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TimeInstantType }
*
*
*/
public List<TimeInstantType> getTimeInstant() {
if (timeInstant == null) {
timeInstant = new ArrayList<TimeInstantType>();
}
return this.timeInstant;
}
/**
* Gets the value of the serviceLevel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServiceLevel() {
return serviceLevel;
}
/**
* Sets the value of the serviceLevel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServiceLevel(String value) {
this.serviceLevel = value;
}
}