Package com.oracle.bmc.waf.model
Class WebAppFirewallPolicySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.waf.model.WebAppFirewallPolicySummary.Builder
-
- Enclosing class:
- WebAppFirewallPolicySummary
public static class WebAppFirewallPolicySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public WebAppFirewallPolicySummary.Builder id(String id)
The OCID of the WebAppFirewallPolicy.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public WebAppFirewallPolicySummary.Builder displayName(String displayName)
WebAppFirewallPolicy display name, can be renamed.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public WebAppFirewallPolicySummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public WebAppFirewallPolicySummary.Builder timeCreated(Date timeCreated)
The time the WebAppFirewallPolicy was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public WebAppFirewallPolicySummary.Builder timeUpdated(Date timeUpdated)
The time the WebAppFirewallPolicy was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public WebAppFirewallPolicySummary.Builder lifecycleState(WebAppFirewallPolicy.LifecycleState lifecycleState)
The current state of the WebAppFirewallPolicy.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public WebAppFirewallPolicySummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in FAILED state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public WebAppFirewallPolicySummary.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public WebAppFirewallPolicySummary.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 WebAppFirewallPolicySummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public WebAppFirewallPolicySummary build()
-
copy
public WebAppFirewallPolicySummary.Builder copy(WebAppFirewallPolicySummary model)
-
-