Package com.oracle.bmc.cloudguard.model
Class SecurityZoneSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.SecurityZoneSummary.Builder
-
- Enclosing class:
- SecurityZoneSummary
public static class SecurityZoneSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityZoneSummary
build()
SecurityZoneSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment for the security zoneSecurityZoneSummary.Builder
copy(SecurityZoneSummary model)
SecurityZoneSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.SecurityZoneSummary.Builder
description(String description)
The security zone’s descriptionSecurityZoneSummary.Builder
displayName(String displayName)
The security zone’s display nameSecurityZoneSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.SecurityZoneSummary.Builder
id(String id)
Unique security zone identifier that can’t be changed after creationSecurityZoneSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.SecurityZoneSummary.Builder
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the security zoneSecurityZoneSummary.Builder
securityZoneRecipeId(String securityZoneRecipeId)
The OCID of the recipe (SecurityRecipe resource) for the security zoneSecurityZoneSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.SecurityZoneSummary.Builder
timeCreated(Date timeCreated)
The time the security zone was created.SecurityZoneSummary.Builder
timeUpdated(Date timeUpdated)
The time the security zone was last updated.
-
-
-
Method Detail
-
id
public SecurityZoneSummary.Builder id(String id)
Unique security zone identifier that can’t be changed after creation- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public SecurityZoneSummary.Builder displayName(String displayName)
The security zone’s display name- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public SecurityZoneSummary.Builder description(String description)
The security zone’s description- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public SecurityZoneSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment for the security zone- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
securityZoneRecipeId
public SecurityZoneSummary.Builder securityZoneRecipeId(String securityZoneRecipeId)
The OCID of the recipe (SecurityRecipe resource) for the security zone- Parameters:
securityZoneRecipeId
- the value to set- Returns:
- this builder
-
timeCreated
public SecurityZoneSummary.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
-
timeUpdated
public SecurityZoneSummary.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
-
lifecycleState
public SecurityZoneSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the security zone- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public SecurityZoneSummary.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
-
freeformTags
public SecurityZoneSummary.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
-
definedTags
public SecurityZoneSummary.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
-
systemTags
public SecurityZoneSummary.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
-
build
public SecurityZoneSummary build()
-
copy
public SecurityZoneSummary.Builder copy(SecurityZoneSummary model)
-
-