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

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

There is a newer version: 0.3.4
Show 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_L7PoolMembersHealth provides statistics of members belonging to a particular L7 pool. 
 *
 * @see SoftLayer_Network_LBaaS_L7PoolMembersHealth
 */
@ApiType("SoftLayer_Network_LBaaS_L7PoolMembersHealth")
public class L7PoolMembersHealth extends Entity {

    /**
     * Instance uuid of the L7 pool
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String l7PoolUuid;

    public String getL7PoolUuid() {
        return l7PoolUuid;
    }

    public void setL7PoolUuid(String l7PoolUuid) {
        l7PoolUuidSpecified = true;
        this.l7PoolUuid = l7PoolUuid;
    }

    protected boolean l7PoolUuidSpecified;

    public boolean isL7PoolUuidSpecified() {
        return l7PoolUuidSpecified;
    }

    public void unsetL7PoolUuid() {
        l7PoolUuid = null;
        l7PoolUuidSpecified = false;
    }

    /**
     * Members statistics of the L7 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;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public Mask l7PoolUuid() {
            withLocalProperty("l7PoolUuid");
            return this;
        }

        public MemberHealth.Mask membersHealth() {
            return withSubMask("membersHealth", MemberHealth.Mask.class);
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy