Package com.oracle.bmc.cloudguard.model
Class SecurityRecipeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.SecurityRecipeSummary.Builder
-
- Enclosing class:
- SecurityRecipeSummary
public static class SecurityRecipeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityRecipeSummary
build()
SecurityRecipeSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the recipeSecurityRecipeSummary.Builder
copy(SecurityRecipeSummary model)
SecurityRecipeSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.SecurityRecipeSummary.Builder
description(String description)
The recipe’s descriptionSecurityRecipeSummary.Builder
displayName(String displayName)
The recipe’s nameSecurityRecipeSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.SecurityRecipeSummary.Builder
id(String id)
Unique identifier that can’t be changed after creationSecurityRecipeSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.SecurityRecipeSummary.Builder
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the recipeSecurityRecipeSummary.Builder
owner(OwnerType owner)
The owner of the recipeSecurityRecipeSummary.Builder
securityPolicies(List<String> securityPolicies)
The list of security policy IDs that are included in the recipeSecurityRecipeSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.SecurityRecipeSummary.Builder
timeCreated(Date timeCreated)
The time the recipe was created.SecurityRecipeSummary.Builder
timeUpdated(Date timeUpdated)
The time the recipe was last updated.
-
-
-
Method Detail
-
id
public SecurityRecipeSummary.Builder id(String id)
Unique identifier that can’t be changed after creation- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public SecurityRecipeSummary.Builder displayName(String displayName)
The recipe’s name- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public SecurityRecipeSummary.Builder description(String description)
The recipe’s description- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public SecurityRecipeSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the recipe- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
owner
public SecurityRecipeSummary.Builder owner(OwnerType owner)
The owner of the recipe- Parameters:
owner
- the value to set- Returns:
- this builder
-
securityPolicies
public SecurityRecipeSummary.Builder securityPolicies(List<String> securityPolicies)
The list of security policy IDs that are included in the recipe- Parameters:
securityPolicies
- the value to set- Returns:
- this builder
-
timeCreated
public SecurityRecipeSummary.Builder timeCreated(Date timeCreated)
The time the recipe was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public SecurityRecipeSummary.Builder timeUpdated(Date timeUpdated)
The time the recipe was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public SecurityRecipeSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the recipe- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public SecurityRecipeSummary.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 recipe in the Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public SecurityRecipeSummary.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 SecurityRecipeSummary.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 SecurityRecipeSummary.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 SecurityRecipeSummary build()
-
copy
public SecurityRecipeSummary.Builder copy(SecurityRecipeSummary model)
-
-