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

com.softlayer.api.service.hardware.LoadBalancer Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.hardware;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Hardware;
import com.softlayer.api.service.user.Customer;
import java.util.ArrayList;
import java.util.List;

/**
 * @see SoftLayer_Hardware_LoadBalancer
 */
@ApiType("SoftLayer_Hardware_LoadBalancer")
public class LoadBalancer extends Hardware {

    @ApiProperty
    protected String modelFamily;

    public String getModelFamily() {
        return modelFamily;
    }

    public void setModelFamily(String modelFamily) {
        this.modelFamily = modelFamily;
    }

    /**
     * A list of users that have access to this hardware load balancer.
     */
    @ApiProperty
    protected List users;

    public List getUsers() {
        if (users == null) {
            users = new ArrayList();
        }
        return users;
    }

    /**
     * A count of a list of users that have access to this hardware load balancer.
     */
    @ApiProperty
    protected Long userCount;

    public Long getUserCount() {
        return userCount;
    }

    public void setUserCount(Long userCount) {
        this.userCount = userCount;
    }

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

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

        public com.softlayer.api.service.user.Customer.Mask users() {
            return withSubMask("users", com.softlayer.api.service.user.Customer.Mask.class);
        }

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy