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

com.softlayer.api.service.network.lbaas.LoadBalancerProtocolConfiguration 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;

/**
 * SoftLayer_Network_LBaaS_LoadBalancerProtocolConfiguration specifies the protocol, port, maximum number of allowed connections and session stickiness for load balancer's front- and backend. 
 *
 * @see SoftLayer_Network_LBaaS_LoadBalancerProtocolConfiguration
 */
@ApiType("SoftLayer_Network_LBaaS_LoadBalancerProtocolConfiguration")
public class LoadBalancerProtocolConfiguration extends Entity {

    /**
     * Backends port
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long backendPort;

    public Long getBackendPort() {
        return backendPort;
    }

    public void setBackendPort(Long backendPort) {
        backendPortSpecified = true;
        this.backendPort = backendPort;
    }

    protected boolean backendPortSpecified;

    public boolean isBackendPortSpecified() {
        return backendPortSpecified;
    }

    public void unsetBackendPort() {
        backendPort = null;
        backendPortSpecified = false;
    }

    /**
     * <




© 2015 - 2024 Weber Informatics LLC | Privacy Policy