public static class CustomProtectionRuleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CustomProtectionRuleSummary |
build() |
CustomProtectionRuleSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
custom protection rule’s compartment.
|
CustomProtectionRuleSummary.Builder |
copy(CustomProtectionRuleSummary model) |
CustomProtectionRuleSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CustomProtectionRuleSummary.Builder |
displayName(String displayName)
The user-friendly name of the custom protection rule.
|
CustomProtectionRuleSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CustomProtectionRuleSummary.Builder |
id(String id)
The OCID of the
custom protection rule.
|
CustomProtectionRuleSummary.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the custom protection rule.
|
CustomProtectionRuleSummary.Builder |
modSecurityRuleIds(List<String> modSecurityRuleIds)
The auto-generated ID for the custom protection rule.
|
CustomProtectionRuleSummary.Builder |
timeCreated(Date timeCreated)
The date and time the protection rule was created, expressed in RFC 3339 timestamp
format.
|
public CustomProtectionRuleSummary.Builder id(String id)
The OCID of the custom protection rule.
id
- the value to setpublic CustomProtectionRuleSummary.Builder compartmentId(String compartmentId)
The OCID of the custom protection rule’s compartment.
compartmentId
- the value to setpublic CustomProtectionRuleSummary.Builder displayName(String displayName)
The user-friendly name of the custom protection rule.
displayName
- the value to setpublic CustomProtectionRuleSummary.Builder modSecurityRuleIds(List<String> modSecurityRuleIds)
The auto-generated ID for the custom protection rule. These IDs are referenced in logs.
modSecurityRuleIds
- the value to setpublic CustomProtectionRuleSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the custom protection rule.
lifecycleState
- the value to setpublic CustomProtectionRuleSummary.Builder timeCreated(Date timeCreated)
The date and time the protection rule was created, expressed in RFC 3339 timestamp format.
timeCreated
- the value to setpublic CustomProtectionRuleSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic CustomProtectionRuleSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic CustomProtectionRuleSummary build()
public CustomProtectionRuleSummary.Builder copy(CustomProtectionRuleSummary model)
Copyright © 2016–2024. All rights reserved.