Package com.morpheusdata.model
Class Policy
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.Policy
- All Implemented Interfaces:
Serializable
Represents a Policy from the PolicyService that affects governance within Morpheus.
These could be naming policies or max vm, max network, max memory type policies.
Information specific to the specific policy is stored in the
MorpheusModel.getConfigMap().- Since:
- 0.12.2
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Stringprotected Booleanprotected Booleanprotected Stringprotected PolicyTypeprotected Longprotected StringFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getRefId()voidsetAllAccounts(Boolean allAccounts) voidsetDescription(String description) voidsetEachUser(Boolean eachUser) voidsetEnabled(Boolean enabled) voidvoidsetPolicyType(PolicyType policyType) voidvoidsetRefType(String refType) 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
-
name
-
description
-
policyType
-
refType
-
refId
-
enabled
-
eachUser
-
allAccounts
-
-
Constructor Details
-
Policy
public Policy()
-
-
Method Details
-
getName
-
getDescription
-
setName
-
setDescription
-
getPolicyType
-
setPolicyType
-
getRefType
-
setRefType
-
getRefId
-
setRefId
-
getEnabled
-
setEnabled
-
getEachUser
-
setEachUser
-
getAllAccounts
-
setAllAccounts
-