
com.terremark.api.ConfigurableInternetServiceMonitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of terremark-api Show documentation
Show all versions of terremark-api Show documentation
Terremark Enterprise Cloud Java API
The newest version!
/**
* Copyright 2012 Terremark Worldwide Inc.
*
* Licensed 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.
*/
package com.terremark.api;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
*
* Java class for ConfigurableInternetServiceMonitor complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ConfigurableInternetServiceMonitor">
* <complexContent>
* <extension base="{}InternetServiceMonitor">
* <sequence>
* <element name="Interval" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0"/>
* <element name="ResponseTimeout" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0"/>
* <element name="Retries" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0"/>
* <element name="Downtime" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0"/>
* <element name="Enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ConfigurableInternetServiceMonitor", propOrder = {"interval", "responseTimeout", "retries",
"downtime", "enabled"})
@XmlSeeAlso({HttpMonitor.class, PingMonitor.class, EcvMonitor.class})
public class ConfigurableInternetServiceMonitor extends InternetServiceMonitor {
@XmlElement(name = "Interval")
@XmlSchemaType(name = "unsignedInt")
protected Long interval;
@XmlElement(name = "ResponseTimeout")
@XmlSchemaType(name = "unsignedInt")
protected Long responseTimeout;
@XmlElement(name = "Retries")
@XmlSchemaType(name = "unsignedInt")
protected Long retries;
@XmlElement(name = "Downtime")
@XmlSchemaType(name = "unsignedInt")
protected Long downtime;
@XmlElement(name = "Enabled")
protected Boolean enabled;
/**
* Gets the value of the interval property.
*
* @return possible object is {@link Long }
*/
public Long getInterval() {
return interval;
}
/**
* Sets the value of the interval property.
*
* @param value allowed object is {@link Long }
*/
public void setInterval(final Long value) {
this.interval = value;
}
/**
* Gets the value of the responseTimeout property.
*
* @return possible object is {@link Long }
*/
public Long getResponseTimeout() {
return responseTimeout;
}
/**
* Sets the value of the responseTimeout property.
*
* @param value allowed object is {@link Long }
*/
public void setResponseTimeout(final Long value) {
this.responseTimeout = value;
}
/**
* Gets the value of the retries property.
*
* @return possible object is {@link Long }
*/
public Long getRetries() {
return retries;
}
/**
* Sets the value of the retries property.
*
* @param value allowed object is {@link Long }
*/
public void setRetries(final Long value) {
this.retries = value;
}
/**
* Gets the value of the downtime property.
*
* @return possible object is {@link Long }
*/
public Long getDowntime() {
return downtime;
}
/**
* Sets the value of the downtime property.
*
* @param value allowed object is {@link Long }
*/
public void setDowntime(final Long value) {
this.downtime = value;
}
/**
* Gets the value of the enabled property.
*
* @return possible object is {@link Boolean }
*/
public Boolean isEnabled() {
return enabled;
}
/**
* Sets the value of the enabled property.
*
* @param value allowed object is {@link Boolean }
*/
public void setEnabled(final Boolean value) {
this.enabled = value;
}
}