public static class SecurityRecipeSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecurityRecipeSummary |
build() |
SecurityRecipeSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the recipe
|
SecurityRecipeSummary.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 description
|
SecurityRecipeSummary.Builder |
displayName(String displayName)
The recipe’s name
|
SecurityRecipeSummary.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 creation
|
SecurityRecipeSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
SecurityRecipeSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the recipe
|
SecurityRecipeSummary.Builder |
owner(OwnerType owner)
The owner of the recipe
|
SecurityRecipeSummary.Builder |
securityPolicies(List<String> securityPolicies)
The list of security policy IDs that are included in the recipe
|
SecurityRecipeSummary.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.
|
public SecurityRecipeSummary.Builder id(String id)
Unique identifier that can’t be changed after creation
id
- the value to setpublic SecurityRecipeSummary.Builder displayName(String displayName)
The recipe’s name
displayName
- the value to setpublic SecurityRecipeSummary.Builder description(String description)
The recipe’s description
description
- the value to setpublic SecurityRecipeSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the recipe
compartmentId
- the value to setpublic SecurityRecipeSummary.Builder owner(OwnerType owner)
The owner of the recipe
owner
- the value to setpublic SecurityRecipeSummary.Builder securityPolicies(List<String> securityPolicies)
The list of security policy IDs that are included in the recipe
securityPolicies
- the value to setpublic SecurityRecipeSummary.Builder timeCreated(Date timeCreated)
The time the recipe was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic SecurityRecipeSummary.Builder timeUpdated(Date timeUpdated)
The time the recipe was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic SecurityRecipeSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the recipe
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic 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.
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic SecurityRecipeSummary build()
public SecurityRecipeSummary.Builder copy(SecurityRecipeSummary model)
Copyright © 2016–2024. All rights reserved.