Class APIMGovernancePolicyDTO
java.lang.Object
org.wso2.am.integration.clients.governance.api.dto.APIMGovernancePolicyDTO
Detailed information about a governance policy.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe state at which an governance policy should be enforced. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedTime(String createdTime) description(String description) booleanList of actions taken when the governance policy is violated.Identifier of the user who created the governance policy.Timestamp when the governance policy was created.A brief description of the governance policy.List of states at which the governance policy should be enforced.getId()UUID of the governance policy.List of labels IDs associated with the governance policy.getName()Name of the governance policy.List of rulesets associated with the governance policy.Identifier of the user who last updated the governance policy.Timestamp when the governance policy was last updated.governableStates(List<APIMGovernancePolicyDTO.GovernableStatesEnum> governableStates) inthashCode()voidsetActions(List<ActionDTO> actions) voidsetCreatedBy(String createdBy) voidsetCreatedTime(String createdTime) voidsetDescription(String description) voidsetGovernableStates(List<APIMGovernancePolicyDTO.GovernableStatesEnum> governableStates) voidvoidvoidvoidsetRulesets(List<String> rulesets) voidsetUpdatedBy(String updatedBy) voidsetUpdatedTime(String updatedTime) toString()updatedTime(String updatedTime)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_GOVERNABLE_STATES
- See Also:
-
SERIALIZED_NAME_ACTIONS
- See Also:
-
SERIALIZED_NAME_RULESETS
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_CREATED_BY
- See Also:
-
SERIALIZED_NAME_CREATED_TIME
- See Also:
-
SERIALIZED_NAME_UPDATED_BY
- See Also:
-
SERIALIZED_NAME_UPDATED_TIME
- See Also:
-
-
Constructor Details
-
APIMGovernancePolicyDTO
public APIMGovernancePolicyDTO()
-
-
Method Details
-
id
-
getId
UUID of the governance policy.- Returns:
- id
-
setId
-
name
-
getName
Name of the governance policy.- Returns:
- name
-
setName
-
description
-
getDescription
A brief description of the governance policy.- Returns:
- description
-
setDescription
-
governableStates
public APIMGovernancePolicyDTO governableStates(List<APIMGovernancePolicyDTO.GovernableStatesEnum> governableStates) -
getGovernableStates
List of states at which the governance policy should be enforced.- Returns:
- governableStates
-
setGovernableStates
public void setGovernableStates(List<APIMGovernancePolicyDTO.GovernableStatesEnum> governableStates) -
actions
-
getActions
List of actions taken when the governance policy is violated. An action is defined by the state and rule severity. If an action is not specified to each state and rule severity, the default action is `NOTIFY`.- Returns:
- actions
-
setActions
-
rulesets
-
getRulesets
List of rulesets associated with the governance policy.- Returns:
- rulesets
-
setRulesets
-
labels
-
getLabels
List of labels IDs associated with the governance policy.- Returns:
- labels
-
setLabels
-
createdBy
-
getCreatedBy
Identifier of the user who created the governance policy.- Returns:
- createdBy
-
setCreatedBy
-
createdTime
-
getCreatedTime
Timestamp when the governance policy was created.- Returns:
- createdTime
-
setCreatedTime
-
updatedBy
-
getUpdatedBy
Identifier of the user who last updated the governance policy.- Returns:
- updatedBy
-
setUpdatedBy
-
updatedTime
-
getUpdatedTime
Timestamp when the governance policy was last updated.- Returns:
- updatedTime
-
setUpdatedTime
-
equals
-
hashCode
public int hashCode() -
toString
-