com.softlayer.api.service.network.lbaas.LoadBalancerHealthMonitorConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
The newest version!
package com.softlayer.api.service.network.lbaas;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* SoftLayer_Network_LBaaS_LoadBalancerHealthMonitorConfiguration specifies the check method to be used for health monitoring backend members.
*
* @see SoftLayer_Network_LBaaS_LoadBalancerHealthMonitorConfiguration
*/
@ApiType("SoftLayer_Network_LBaaS_LoadBalancerHealthMonitorConfiguration")
public class LoadBalancerHealthMonitorConfiguration extends Entity {
/**
* Backends port
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long backendPort;
public Long getBackendPort() {
return backendPort;
}
public void setBackendPort(Long backendPort) {
backendPortSpecified = true;
this.backendPort = backendPort;
}
protected boolean backendPortSpecified;
public boolean isBackendPortSpecified() {
return backendPortSpecified;
}
public void unsetBackendPort() {
backendPort = null;
backendPortSpecified = false;
}
/**
* Backends protocol. Valid values are "TCP", "HTTP"
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String backendProtocol;
public String getBackendProtocol() {
return backendProtocol;
}
public void setBackendProtocol(String backendProtocol) {
backendProtocolSpecified = true;
this.backendProtocol = backendProtocol;
}
protected boolean backendProtocolSpecified;
public boolean isBackendProtocolSpecified() {
return backendProtocolSpecified;
}
public void unsetBackendProtocol() {
backendProtocol = null;
backendProtocolSpecified = false;
}
/**
* Health Monitor UUID, required for update only
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String healthMonitorUuid;
public String getHealthMonitorUuid() {
return healthMonitorUuid;
}
public void setHealthMonitorUuid(String healthMonitorUuid) {
healthMonitorUuidSpecified = true;
this.healthMonitorUuid = healthMonitorUuid;
}
protected boolean healthMonitorUuidSpecified;
public boolean isHealthMonitorUuidSpecified() {
return healthMonitorUuidSpecified;
}
public void unsetHealthMonitorUuid() {
healthMonitorUuid = null;
healthMonitorUuidSpecified = false;
}
/**
* <<< EOT Interval in seconds to perform
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long interval;
public Long getInterval() {
return interval;
}
public void setInterval(Long interval) {
intervalSpecified = true;
this.interval = interval;
}
protected boolean intervalSpecified;
public boolean isIntervalSpecified() {
return intervalSpecified;
}
public void unsetInterval() {
interval = null;
intervalSpecified = false;
}
/**
* Max number of retries until the member is considered as DOWN
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long maxRetries;
public Long getMaxRetries() {
return maxRetries;
}
public void setMaxRetries(Long maxRetries) {
maxRetriesSpecified = true;
this.maxRetries = maxRetries;
}
protected boolean maxRetriesSpecified;
public boolean isMaxRetriesSpecified() {
return maxRetriesSpecified;
}
public void unsetMaxRetries() {
maxRetries = null;
maxRetriesSpecified = false;
}
/**
* Health check methods timeout in
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long timeout;
public Long getTimeout() {
return timeout;
}
public void setTimeout(Long timeout) {
timeoutSpecified = true;
this.timeout = timeout;
}
protected boolean timeoutSpecified;
public boolean isTimeoutSpecified() {
return timeoutSpecified;
}
public void unsetTimeout() {
timeout = null;
timeoutSpecified = false;
}
/**
* If monitor is "HTTP", this specifies URL path
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String urlPath;
public String getUrlPath() {
return urlPath;
}
public void setUrlPath(String urlPath) {
urlPathSpecified = true;
this.urlPath = urlPath;
}
protected boolean urlPathSpecified;
public boolean isUrlPathSpecified() {
return urlPathSpecified;
}
public void unsetUrlPath() {
urlPath = null;
urlPathSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask backendPort() {
withLocalProperty("backendPort");
return this;
}
public Mask backendProtocol() {
withLocalProperty("backendProtocol");
return this;
}
public Mask healthMonitorUuid() {
withLocalProperty("healthMonitorUuid");
return this;
}
public Mask interval() {
withLocalProperty("interval");
return this;
}
public Mask maxRetries() {
withLocalProperty("maxRetries");
return this;
}
public Mask timeout() {
withLocalProperty("timeout");
return this;
}
public Mask urlPath() {
withLocalProperty("urlPath");
return this;
}
}
}