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 Boolean
protected String
protected Boolean
protected Boolean
protected String
protected PolicyType
protected Long
protected String
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
getRefId()
void
setAllAccounts
(Boolean allAccounts) void
setDescription
(String description) void
setEachUser
(Boolean eachUser) void
setEnabled
(Boolean enabled) void
void
setPolicyType
(PolicyType policyType) void
void
setRefType
(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
-