Package org.openstack4j.model.senlin
Interface Policy
-
- All Superinterfaces:
ModelEntity,ResourceEntity,Serializable
- All Known Implementing Classes:
SenlinPolicy
public interface Policy extends ResourceEntity
This interface describes the getter-methods (and thus components) of a Policy. All getters map to the possible return values ofGET /v1/policies/{policy_id}- Author:
- lion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetCreatedAt()Returns the created at time of the policyMap<String,Object>getData()Returns the data of the policyStringgetDomain()Returns the domain of the policyStringgetProject()Returns the project of the policyMap<String,Object>getSpec()Returns the spec of the policyStringgetType()Returns the type of the policyDategetUpdatedAt()Returns the updated at time of the policyStringgetUser()Returns the user of the policy-
Methods inherited from interface org.openstack4j.model.ResourceEntity
getId, getName
-
-
-
-
Method Detail
-
getDomain
String getDomain()
Returns the domain of the policy- Returns:
- the domain of the policy
-
getProject
String getProject()
Returns the project of the policy- Returns:
- the project of the policy
-
getUser
String getUser()
Returns the user of the policy- Returns:
- the user of the policy
-
getData
Map<String,Object> getData()
Returns the data of the policy- Returns:
- the data of the policy
-
getSpec
Map<String,Object> getSpec()
Returns the spec of the policy- Returns:
- the spec of the policy
-
getType
String getType()
Returns the type of the policy- Returns:
- the type of the policy
-
getCreatedAt
Date getCreatedAt()
Returns the created at time of the policy- Returns:
- the created at time of the policy
-
getUpdatedAt
Date getUpdatedAt()
Returns the updated at time of the policy- Returns:
- the updated at time of the policy
-
-