Package com.oracle.bmc.cloudguard.model
Class SecurityZone.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.SecurityZone.Builder
 
- 
- Enclosing class:
- SecurityZone
 
 public static class SecurityZone.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityZonebuild()SecurityZone.BuildercompartmentId(String compartmentId)The OCID of the compartment for the security zoneSecurityZone.Buildercopy(SecurityZone model)SecurityZone.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SecurityZone.Builderdescription(String description)The security zone’s descriptionSecurityZone.BuilderdisplayName(String displayName)The security zone’s display nameSecurityZone.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.SecurityZone.Builderid(String id)Unique identifier that can\u2019t be changed after creationSecurityZone.BuilderinheritedByCompartments(List<String> inheritedByCompartments)List of inherited compartmentsSecurityZone.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.SecurityZone.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the security zoneSecurityZone.BuildersecurityZoneRecipeId(String securityZoneRecipeId)The OCID of the recipe (SecurityRecipe resource) for the security zoneSecurityZone.BuildersecurityZoneTargetId(String securityZoneTargetId)The OCID of the target associated with the security zoneSecurityZone.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SecurityZone.BuildertimeCreated(Date timeCreated)The time the security zone was created.SecurityZone.BuildertimeUpdated(Date timeUpdated)The time the security zone was last updated.
 
- 
- 
- 
Method Detail- 
idpublic SecurityZone.Builder id(String id) Unique identifier that can\u2019t be changed after creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic SecurityZone.Builder displayName(String displayName) The security zone’s display name- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic SecurityZone.Builder description(String description) The security zone’s description- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SecurityZone.Builder compartmentId(String compartmentId) The OCID of the compartment for the security zone- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
securityZoneRecipeIdpublic SecurityZone.Builder securityZoneRecipeId(String securityZoneRecipeId) The OCID of the recipe (SecurityRecipe resource) for the security zone- Parameters:
- securityZoneRecipeId- the value to set
- Returns:
- this builder
 
 - 
securityZoneTargetIdpublic SecurityZone.Builder securityZoneTargetId(String securityZoneTargetId) The OCID of the target associated with the security zone- Parameters:
- securityZoneTargetId- the value to set
- Returns:
- this builder
 
 - 
inheritedByCompartmentspublic SecurityZone.Builder inheritedByCompartments(List<String> inheritedByCompartments) List of inherited compartments- Parameters:
- inheritedByCompartments- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic SecurityZone.Builder timeCreated(Date timeCreated) The time the security zone was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic SecurityZone.Builder timeUpdated(Date timeUpdated) The time the security zone was last updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic SecurityZone.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the security zone- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic SecurityZone.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 zone in the Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic SecurityZone.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 SecurityZone.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 SecurityZone.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 SecurityZone build() 
 - 
copypublic SecurityZone.Builder copy(SecurityZone model) 
 
- 
 
-