Package com.oracle.bmc.cloudguard.model
Class SecurityPolicySummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.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.Buildercategory(String category)The category of the security policySecurityPolicySummary.BuildercompartmentId(String compartmentId)The OCID of the security policy’s compartmentSecurityPolicySummary.Buildercopy(SecurityPolicySummary model)SecurityPolicySummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SecurityPolicySummary.Builderdescription(String description)The security policy’s descriptionSecurityPolicySummary.BuilderdisplayName(String displayName)The security policy’s display nameSecurityPolicySummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.SecurityPolicySummary.BuilderfriendlyName(String friendlyName)A shorter version of the security policy’s nameSecurityPolicySummary.Builderid(String id)Unique identifier that can\u2019t be changed after creationSecurityPolicySummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.SecurityPolicySummary.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the security policySecurityPolicySummary.Builderowner(OwnerType owner)The owner of the security policySecurityPolicySummary.Builderservices(List<String> services)The list of services that the security policy protectsSecurityPolicySummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SecurityPolicySummary.BuildertimeCreated(Date timeCreated)The date and time the security policy was created.SecurityPolicySummary.BuildertimeUpdated(Date timeUpdated)The date and time the security policy was last updated.
 
- 
- 
- 
Method Detail- 
idpublic SecurityPolicySummary.Builder id(String id) Unique identifier that can\u2019t be changed after creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
friendlyNamepublic SecurityPolicySummary.Builder friendlyName(String friendlyName) A shorter version of the security policy’s name- Parameters:
- friendlyName- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic SecurityPolicySummary.Builder displayName(String displayName) The security policy’s display name- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic SecurityPolicySummary.Builder description(String description) The security policy’s description- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SecurityPolicySummary.Builder compartmentId(String compartmentId) The OCID of the security policy’s compartment- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
ownerpublic SecurityPolicySummary.Builder owner(OwnerType owner) The owner of the security policy- Parameters:
- owner- the value to set
- Returns:
- this builder
 
 - 
categorypublic SecurityPolicySummary.Builder category(String category) The category of the security policy- Parameters:
- category- the value to set
- Returns:
- this builder
 
 - 
servicespublic SecurityPolicySummary.Builder services(List<String> services) The list of services that the security policy protects- Parameters:
- services- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic SecurityPolicySummary.Builder timeCreated(Date timeCreated) The date and time the security policy was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic SecurityPolicySummary.Builder timeUpdated(Date timeUpdated) The date and time the security policy was last updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic SecurityPolicySummary.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the security policy- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic SecurityPolicySummary.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.For example, this can be used to provide actionable information for a policy in the Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic SecurityPolicySummary.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} Avoid entering confidential information. - 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. Example: {“foo-namespace”: {“bar-key”: “value”}} - 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. System tags can be viewed by users, but can only be created by the system. 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) 
 
- 
 
-