com.softlayer.api.service.container.network.loadbalancer.StatusEntry 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
package com.softlayer.api.service.container.network.loadbalancer;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* The LoadBalancer_StatusEntry object stores information about the current status of a particular load balancer service.
*
* It is a data container that cannot be edited, deleted, or saved.
*
* It is returned exclusively by the getStatus method on the [[SoftLayer_Network_LoadBalancer_Service]] service
*
* @see SoftLayer_Container_Network_LoadBalancer_StatusEntry
*/
@ApiType("SoftLayer_Container_Network_LoadBalancer_StatusEntry")
public class StatusEntry extends Entity {
/**
* The value of the entry.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String content;
public String getContent() {
return content;
}
public void setContent(String content) {
contentSpecified = true;
this.content = content;
}
protected boolean contentSpecified;
public boolean isContentSpecified() {
return contentSpecified;
}
public void unsetContent() {
content = null;
contentSpecified = false;
}
/**
* Text description of the status entry
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String label;
public String getLabel() {
return label;
}
public void setLabel(String label) {
labelSpecified = true;
this.label = label;
}
protected boolean labelSpecified;
public boolean isLabelSpecified() {
return labelSpecified;
}
public void unsetLabel() {
label = null;
labelSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask content() {
withLocalProperty("content");
return this;
}
public Mask label() {
withLocalProperty("label");
return this;
}
}
}