Package com.oracle.bmc.waas.model
Class WaasPolicySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.model.WaasPolicySummary.Builder
-
- Enclosing class:
- WaasPolicySummary
public static class WaasPolicySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WaasPolicySummarybuild()WaasPolicySummary.BuildercompartmentId(String compartmentId)The OCID of the WAAS policy’s compartment.WaasPolicySummary.Buildercopy(WaasPolicySummary model)WaasPolicySummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.WaasPolicySummary.BuilderdisplayName(String displayName)The user-friendly name of the WAAS policy.WaasPolicySummary.Builderdomain(String domain)The web application domain that the WAAS policy protects.WaasPolicySummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.WaasPolicySummary.Builderid(String id)The OCID of the WAAS policy.WaasPolicySummary.BuilderlifecycleState(LifecycleStates lifecycleState)The current lifecycle state of the WAAS policy.WaasPolicySummary.BuildertimeCreated(Date timeCreated)The date and time the policy was created, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public WaasPolicySummary.Builder id(String id)
The OCID of the WAAS policy.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public WaasPolicySummary.Builder compartmentId(String compartmentId)
The OCID of the WAAS policy’s compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public WaasPolicySummary.Builder displayName(String displayName)
The user-friendly name of the WAAS policy.The name can be changed and does not need to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
domain
public WaasPolicySummary.Builder domain(String domain)
The web application domain that the WAAS policy protects.- Parameters:
domain- the value to set- Returns:
- this builder
-
lifecycleState
public WaasPolicySummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the WAAS policy.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public WaasPolicySummary.Builder timeCreated(Date timeCreated)
The date and time the policy was created, expressed in RFC 3339 timestamp format.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
freeformTags
public WaasPolicySummary.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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public WaasPolicySummary.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"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public WaasPolicySummary build()
-
copy
public WaasPolicySummary.Builder copy(WaasPolicySummary model)
-
-