All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.network.lbaas.PoolMembersHealth Maven / Gradle / Ivy

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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy