com.softlayer.api.service.network.lbaas.PoolMembersHealth 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;
import com.softlayer.api.service.network.lbaas.MemberHealth;
import java.util.ArrayList;
import java.util.List;
/**
* SoftLayer_Network_LBaaS_PoolMembersHealth provides statistics of members belonging to a particular pool.
*
* @see SoftLayer_Network_LBaaS_PoolMembersHealth
*/
@ApiType("SoftLayer_Network_LBaaS_PoolMembersHealth")
public class PoolMembersHealth extends Entity {
/**
* Members statistics of the pool
*/
@ApiProperty(canBeNullOrNotSet = true)
protected List membersHealth;
public List getMembersHealth() {
if (membersHealth == null) {
membersHealth = new ArrayList();
}
return membersHealth;
}
protected boolean membersHealthSpecified;
public boolean isMembersHealthSpecified() {
return membersHealthSpecified;
}
public void unsetMembersHealth() {
membersHealth = null;
membersHealthSpecified = false;
}
/**
* Instance uuid of the pool
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String poolUuid;
public String getPoolUuid() {
return poolUuid;
}
public void setPoolUuid(String poolUuid) {
poolUuidSpecified = true;
this.poolUuid = poolUuid;
}
protected boolean poolUuidSpecified;
public boolean isPoolUuidSpecified() {
return poolUuidSpecified;
}
public void unsetPoolUuid() {
poolUuid = null;
poolUuidSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public MemberHealth.Mask membersHealth() {
return withSubMask("membersHealth", MemberHealth.Mask.class);
}
public Mask poolUuid() {
withLocalProperty("poolUuid");
return this;
}
}
}