Package com.oracle.bmc.cloudguard.model
Class SecurityRecipe.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.SecurityRecipe.Builder
 
- 
- Enclosing class:
- SecurityRecipe
 
 public static class SecurityRecipe.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityRecipebuild()SecurityRecipe.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the recipeSecurityRecipe.Buildercopy(SecurityRecipe model)SecurityRecipe.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SecurityRecipe.Builderdescription(String description)The recipe’s descriptionSecurityRecipe.BuilderdisplayName(String displayName)The recipe’s display nameSecurityRecipe.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.SecurityRecipe.Builderid(String id)Unique identifier that can\u2019t be changed after creationSecurityRecipe.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.SecurityRecipe.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the recipeSecurityRecipe.Builderowner(OwnerType owner)The owner of the recipeSecurityRecipe.BuildersecurityPolicies(List<String> securityPolicies)The list of security policy IDs that are included in the recipeSecurityRecipe.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SecurityRecipe.BuildertimeCreated(Date timeCreated)The time the recipe was created.SecurityRecipe.BuildertimeUpdated(Date timeUpdated)The time the recipe was last updated.
 
- 
- 
- 
Method Detail- 
idpublic SecurityRecipe.Builder id(String id) Unique identifier that can\u2019t be changed after creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic SecurityRecipe.Builder displayName(String displayName) The recipe’s display name- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic SecurityRecipe.Builder description(String description) The recipe’s description- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SecurityRecipe.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the recipe- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
ownerpublic SecurityRecipe.Builder owner(OwnerType owner) The owner of the recipe- Parameters:
- owner- the value to set
- Returns:
- this builder
 
 - 
securityPoliciespublic SecurityRecipe.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
 
 - 
timeCreatedpublic SecurityRecipe.Builder timeCreated(Date timeCreated) The time the recipe was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic SecurityRecipe.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
 
 - 
lifecycleStatepublic SecurityRecipe.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the recipe- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic SecurityRecipe.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
 
 - 
freeformTagspublic SecurityRecipe.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 SecurityRecipe.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 SecurityRecipe.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 SecurityRecipe build() 
 - 
copypublic SecurityRecipe.Builder copy(SecurityRecipe model) 
 
- 
 
-