| static Policy.Builder | Policy. builder() | Create a new builder. | 
| Policy.Builder | Policy.Builder. compartmentId(String compartmentId) | The OCID of the compartment containing the policy (either the tenancy or another
compartment). | 
| Policy.Builder | Policy.Builder. copy(Policy model) |  | 
| Policy.Builder | Policy.Builder. definedTags(Map<String,Map<String,Object>> definedTags) | Defined tags for this resource. | 
| Policy.Builder | Policy.Builder. description(String description) | The description you assign to the policy. | 
| Policy.Builder | Policy.Builder. freeformTags(Map<String,String> freeformTags) | Free-form tags for this resource. | 
| Policy.Builder | Policy.Builder. id(String id) | The OCID of the policy. | 
| Policy.Builder | Policy.Builder. inactiveStatus(Long inactiveStatus) | The detailed status of INACTIVE lifecycleState. | 
| Policy.Builder | Policy.Builder. lifecycleState(Policy.LifecycleState lifecycleState) | The policy’s current state. | 
| Policy.Builder | Policy.Builder. name(String name) | The name you assign to the policy during creation. | 
| Policy.Builder | Policy.Builder. statements(List<String> statements) | An array of one or more policy statements written in the policy language. | 
| Policy.Builder | Policy.Builder. timeCreated(Date timeCreated) | Date and time the policy was created, in the format defined by RFC3339. | 
| Policy.Builder | Policy. toBuilder() |  | 
| Policy.Builder | Policy.Builder. versionDate(Date versionDate) | The version of the policy. |