Package com.morpheusdata.model
Class NetworkLoadBalancerPolicy
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.LoadBalancerPolicyIdentityProjection
com.morpheusdata.model.NetworkLoadBalancerPolicy
-
Field Summary
Modifier and TypeFieldDescriptionprotected Account
protected String
protected String
protected User
protected Date
protected String
protected Integer
protected Boolean
protected Boolean
protected String
protected String
protected Date
protected NetworkLoadBalancer
protected String
protected String
protected String
protected String
protected List<NetworkLoadBalancerRule>
protected String
protected String
protected String
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDraft()
returns the externalId also known as the API id of the equivalent object.getName()
Gets the name of the load balancer node.getRules()
void
setAccount
(Account account) void
setCategory
(String category) void
setControls
(String controls) void
setCreatedBy
(User createdBy) void
setDateCreated
(Date dateCreated) void
setDescription
(String description) void
setDisplayOrder
(Integer displayOrder) void
void
setEnabled
(Boolean enabled) void
setExternalId
(String externalId) Sets the externalId of the load balancer policy.void
setInternalId
(String internalId) void
setLastUpdated
(Date lastUpdated) void
setLoadBalancer
(NetworkLoadBalancer loadBalancer) void
void
setPartition
(String partition) void
setPolicyType
(String policyType) void
setRequires
(String requires) void
setRules
(List<NetworkLoadBalancerRule> rules) void
void
setStrategy
(String strategy) void
setVisibility
(String visibility) Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
account
-
name
-
category
-
createdBy
-
visibility
-
description
-
internalId
-
externalId
-
enabled
-
draft
-
controls
-
requires
-
status
-
strategy
-
policyType
-
partition
-
dateCreated
-
lastUpdated
-
displayOrder
-
loadBalancer
-
rules
-
-
Constructor Details
-
NetworkLoadBalancerPolicy
public NetworkLoadBalancerPolicy()
-
-
Method Details
-
getAccount
-
setAccount
-
getName
Description copied from class:LoadBalancerPolicyIdentityProjection
Gets the name of the load balancer node. This is on the identity projection in case a fallback match needs to happen by name- Overrides:
getName
in classLoadBalancerPolicyIdentityProjection
- Returns:
- the current name of the node
-
setName
- Overrides:
setName
in classLoadBalancerPolicyIdentityProjection
-
getCategory
-
setCategory
-
getCreatedBy
-
setCreatedBy
-
getVisibility
-
setVisibility
-
getDescription
- Overrides:
getDescription
in classLoadBalancerPolicyIdentityProjection
-
setDescription
- Overrides:
setDescription
in classLoadBalancerPolicyIdentityProjection
-
getInternalId
-
setInternalId
-
getExternalId
Description copied from class:LoadBalancerPolicyIdentityProjection
returns the externalId also known as the API id of the equivalent object.- Overrides:
getExternalId
in classLoadBalancerPolicyIdentityProjection
- Returns:
- the external id or API id of the current record
-
setExternalId
Description copied from class:LoadBalancerPolicyIdentityProjection
Sets the externalId of the load balancer policy. In this class this should not be called directly- Overrides:
setExternalId
in classLoadBalancerPolicyIdentityProjection
- Parameters:
externalId
- the external id or API id of the current record
-
getEnabled
-
setEnabled
-
getDraft
-
setDraft
-
getControls
-
setControls
-
getRequires
-
setRequires
-
getStatus
-
setStatus
-
getStrategy
-
setStrategy
-
getPolicyType
-
setPolicyType
-
getPartition
- Overrides:
getPartition
in classLoadBalancerPolicyIdentityProjection
-
setPartition
- Overrides:
setPartition
in classLoadBalancerPolicyIdentityProjection
-
getDateCreated
-
setDateCreated
-
getLastUpdated
-
setLastUpdated
-
getDisplayOrder
-
setDisplayOrder
-
getLoadBalancer
-
setLoadBalancer
-
getRules
-
setRules
-