com.softlayer.api.service.hardware.LoadBalancer 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.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;
}
}
}