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
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Accountprotected Stringprotected Stringprotected Userprotected Dateprotected Stringprotected Integerprotected Booleanprotected Booleanprotected Stringprotected Stringprotected Dateprotected NetworkLoadBalancerprotected Stringprotected Stringprotected Stringprotected Stringprotected List<NetworkLoadBalancerRule>protected Stringprotected Stringprotected StringFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
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()voidsetAccount(Account account) voidsetCategory(String category) voidsetControls(String controls) voidsetCreatedBy(User createdBy) voidsetDateCreated(Date dateCreated) voidsetDescription(String description) voidsetDisplayOrder(Integer displayOrder) voidvoidsetEnabled(Boolean enabled) voidsetExternalId(String externalId) Sets the externalId of the load balancer policy.voidsetInternalId(String internalId) voidsetLastUpdated(Date lastUpdated) voidsetLoadBalancer(NetworkLoadBalancer loadBalancer) voidvoidsetPartition(String partition) voidsetPolicyType(String policyType) voidsetRequires(String requires) voidsetRules(List<NetworkLoadBalancerRule> rules) voidvoidsetStrategy(String strategy) voidsetVisibility(String visibility) Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityPropertiesMethods 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:LoadBalancerPolicyIdentityProjectionGets the name of the load balancer node. This is on the identity projection in case a fallback match needs to happen by name- Overrides:
getNamein classLoadBalancerPolicyIdentityProjection- Returns:
- the current name of the node
-
setName
- Overrides:
setNamein classLoadBalancerPolicyIdentityProjection
-
getCategory
-
setCategory
-
getCreatedBy
-
setCreatedBy
-
getVisibility
-
setVisibility
-
getDescription
- Overrides:
getDescriptionin classLoadBalancerPolicyIdentityProjection
-
setDescription
- Overrides:
setDescriptionin classLoadBalancerPolicyIdentityProjection
-
getInternalId
-
setInternalId
-
getExternalId
Description copied from class:LoadBalancerPolicyIdentityProjectionreturns the externalId also known as the API id of the equivalent object.- Overrides:
getExternalIdin classLoadBalancerPolicyIdentityProjection- Returns:
- the external id or API id of the current record
-
setExternalId
Description copied from class:LoadBalancerPolicyIdentityProjectionSets the externalId of the load balancer policy. In this class this should not be called directly- Overrides:
setExternalIdin 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:
getPartitionin classLoadBalancerPolicyIdentityProjection
-
setPartition
- Overrides:
setPartitionin classLoadBalancerPolicyIdentityProjection
-
getDateCreated
-
setDateCreated
-
getLastUpdated
-
setLastUpdated
-
getDisplayOrder
-
setDisplayOrder
-
getLoadBalancer
-
setLoadBalancer
-
getRules
-
setRules
-