Package com.oracle.bmc.datasafe.model
Class SecurityPolicySummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.SecurityPolicySummary.Builder
 
- 
- Enclosing class:
- SecurityPolicySummary
 
 public static class SecurityPolicySummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityPolicySummarybuild()SecurityPolicySummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the security policy.SecurityPolicySummary.Buildercopy(SecurityPolicySummary model)SecurityPolicySummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SecurityPolicySummary.Builderdescription(String description)The description of the security policy.SecurityPolicySummary.BuilderdisplayName(String displayName)The display name of the security policy.SecurityPolicySummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.SecurityPolicySummary.Builderid(String id)The OCID of the security policy.SecurityPolicySummary.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the security policy in Data Safe.SecurityPolicySummary.BuilderlifecycleState(SecurityPolicyLifecycleState lifecycleState)The current state of the security policy.SecurityPolicySummary.BuildersecurityPolicyType(SecurityPolicy.SecurityPolicyType securityPolicyType)The type of the security policy.SecurityPolicySummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SecurityPolicySummary.BuildertimeCreated(Date timeCreated)The time that the security policy was created, in the format defined by RFC3339.SecurityPolicySummary.BuildertimeUpdated(Date timeUpdated)The last date and time the security policy was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic SecurityPolicySummary.Builder id(String id) The OCID of the security policy.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SecurityPolicySummary.Builder compartmentId(String compartmentId) The OCID of the compartment containing the security policy.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic SecurityPolicySummary.Builder displayName(String displayName) The display name of the security policy.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic SecurityPolicySummary.Builder description(String description) The description of the security policy.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
securityPolicyTypepublic SecurityPolicySummary.Builder securityPolicyType(SecurityPolicy.SecurityPolicyType securityPolicyType) The type of the security policy.- Parameters:
- securityPolicyType- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic SecurityPolicySummary.Builder timeCreated(Date timeCreated) The time that the security policy was created, in the format defined by RFC3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic SecurityPolicySummary.Builder timeUpdated(Date timeUpdated) The last date and time the security policy was updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic SecurityPolicySummary.Builder lifecycleState(SecurityPolicyLifecycleState lifecycleState) The current state of the security policy.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic SecurityPolicySummary.Builder lifecycleDetails(String lifecycleDetails) Details about the current state of the security policy in Data Safe.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic SecurityPolicySummary.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic SecurityPolicySummary.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic SecurityPolicySummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic SecurityPolicySummary build() 
 - 
copypublic SecurityPolicySummary.Builder copy(SecurityPolicySummary model) 
 
- 
 
-