com.softlayer.api.service.network.lbaas.L7SessionAffinity 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.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.L7Pool;
/**
* SoftLayer_Network_LBaaS_L7SessionAffinity represents the session affinity, aka session persistence, configuration for a load balancer backend L7 pool.
*
* @see SoftLayer_Network_LBaaS_L7SessionAffinity
*/
@ApiType("SoftLayer_Network_LBaaS_L7SessionAffinity")
public class L7SessionAffinity extends Entity {
@ApiProperty
protected L7Pool l7Pool;
public L7Pool getL7Pool() {
return l7Pool;
}
public void setL7Pool(L7Pool l7Pool) {
this.l7Pool = l7Pool;
}
/**
* Type of the session persistence
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String type;
public String getType() {
return type;
}
public void setType(String type) {
typeSpecified = true;
this.type = type;
}
protected boolean typeSpecified;
public boolean isTypeSpecified() {
return typeSpecified;
}
public void unsetType() {
type = null;
typeSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public L7Pool.Mask l7Pool() {
return withSubMask("l7Pool", L7Pool.Mask.class);
}
public Mask type() {
withLocalProperty("type");
return this;
}
}
}