public static class SecurityZone.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecurityZone |
build() |
SecurityZone.Builder |
compartmentId(String compartmentId)
The OCID of the compartment for the security zone
|
SecurityZone.Builder |
copy(SecurityZone model) |
SecurityZone.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SecurityZone.Builder |
description(String description)
The security zone’s description
|
SecurityZone.Builder |
displayName(String displayName)
The security zone’s display name
|
SecurityZone.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
SecurityZone.Builder |
id(String id)
Unique identifier that can’t be changed after creation
|
SecurityZone.Builder |
inheritedByCompartments(List<String> inheritedByCompartments)
List of inherited compartments
|
SecurityZone.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
SecurityZone.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the security zone
|
SecurityZone.Builder |
securityZoneRecipeId(String securityZoneRecipeId)
The OCID of the recipe (
SecurityRecipe resource) for the security zone |
SecurityZone.Builder |
securityZoneTargetId(String securityZoneTargetId)
The OCID of the target associated with the security zone
|
SecurityZone.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
SecurityZone.Builder |
timeCreated(Date timeCreated)
The time the security zone was created.
|
SecurityZone.Builder |
timeUpdated(Date timeUpdated)
The time the security zone was last updated.
|
public SecurityZone.Builder id(String id)
Unique identifier that can’t be changed after creation
id
- the value to setpublic SecurityZone.Builder displayName(String displayName)
The security zone’s display name
displayName
- the value to setpublic SecurityZone.Builder description(String description)
The security zone’s description
description
- the value to setpublic SecurityZone.Builder compartmentId(String compartmentId)
The OCID of the compartment for the security zone
compartmentId
- the value to setpublic SecurityZone.Builder securityZoneRecipeId(String securityZoneRecipeId)
The OCID of the recipe (SecurityRecipe
resource) for the security zone
securityZoneRecipeId
- the value to setpublic SecurityZone.Builder securityZoneTargetId(String securityZoneTargetId)
The OCID of the target associated with the security zone
securityZoneTargetId
- the value to setpublic SecurityZone.Builder inheritedByCompartments(List<String> inheritedByCompartments)
List of inherited compartments
inheritedByCompartments
- the value to setpublic SecurityZone.Builder timeCreated(Date timeCreated)
The time the security zone was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic SecurityZone.Builder timeUpdated(Date timeUpdated)
The time the security zone was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic SecurityZone.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the security zone
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic 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.
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic SecurityZone build()
public SecurityZone.Builder copy(SecurityZone model)
Copyright © 2016–2024. All rights reserved.