Package com.oracle.bmc.waas.model
Class WaasPolicy.Builder
- java.lang.Object
- 
- com.oracle.bmc.waas.model.WaasPolicy.Builder
 
- 
- Enclosing class:
- WaasPolicy
 
 public static class WaasPolicy.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WaasPolicy.BuilderadditionalDomains(List<String> additionalDomains)An array of additional domains for this web application.WaasPolicybuild()WaasPolicy.Buildercname(String cname)The CNAME record to add to your DNS configuration to route traffic for the domain, and all additional domains, through the WAF.WaasPolicy.BuildercompartmentId(String compartmentId)The OCID of the WAAS policy’s compartment.WaasPolicy.Buildercopy(WaasPolicy model)WaasPolicy.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.WaasPolicy.BuilderdisplayName(String displayName)The user-friendly name of the WAAS policy.WaasPolicy.Builderdomain(String domain)The web application domain that the WAAS policy protects.WaasPolicy.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.WaasPolicy.Builderid(String id)The OCID of the WAAS policy.WaasPolicy.BuilderlifecycleState(LifecycleStates lifecycleState)The current lifecycle state of the WAAS policy.WaasPolicy.BuilderoriginGroups(Map<String,OriginGroup> originGroups)The map of origin groups and their keys used to associate origins to the wafConfig.WaasPolicy.Builderorigins(Map<String,Origin> origins)A map of host servers (origins) and their keys for the web application.WaasPolicy.BuilderpolicyConfig(PolicyConfig policyConfig)WaasPolicy.BuildertimeCreated(Date timeCreated)The date and time the policy was created, expressed in RFC 3339 timestamp format.WaasPolicy.BuilderwafConfig(WafConfig wafConfig)
 
- 
- 
- 
Method Detail- 
idpublic WaasPolicy.Builder id(String id) The OCID of the WAAS policy.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic WaasPolicy.Builder compartmentId(String compartmentId) The OCID of the WAAS policy’s compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic WaasPolicy.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
 
 - 
domainpublic WaasPolicy.Builder domain(String domain) The web application domain that the WAAS policy protects.- Parameters:
- domain- the value to set
- Returns:
- this builder
 
 - 
additionalDomainspublic WaasPolicy.Builder additionalDomains(List<String> additionalDomains) An array of additional domains for this web application.- Parameters:
- additionalDomains- the value to set
- Returns:
- this builder
 
 - 
cnamepublic WaasPolicy.Builder cname(String cname) The CNAME record to add to your DNS configuration to route traffic for the domain, and all additional domains, through the WAF.- Parameters:
- cname- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic WaasPolicy.Builder lifecycleState(LifecycleStates lifecycleState) The current lifecycle state of the WAAS policy.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic WaasPolicy.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
 
 - 
originspublic WaasPolicy.Builder origins(Map<String,Origin> origins) A map of host servers (origins) and their keys for the web application.Origin keys are used to associate origins to specific protection rules. The key should be a user-friendly name for the host. Examples: primary or secondary. - Parameters:
- origins- the value to set
- Returns:
- this builder
 
 - 
originGroupspublic WaasPolicy.Builder originGroups(Map<String,OriginGroup> originGroups) The map of origin groups and their keys used to associate origins to the wafConfig.Origin groups allow you to apply weights to groups of origins for load balancing purposes. Origins with higher weights will receive larger proportions of client requests. - Parameters:
- originGroups- the value to set
- Returns:
- this builder
 
 - 
policyConfigpublic WaasPolicy.Builder policyConfig(PolicyConfig policyConfig) 
 - 
wafConfigpublic WaasPolicy.Builder wafConfig(WafConfig wafConfig) 
 - 
freeformTagspublic WaasPolicy.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
 
 - 
definedTagspublic WaasPolicy.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
 
 - 
buildpublic WaasPolicy build() 
 - 
copypublic WaasPolicy.Builder copy(WaasPolicy model) 
 
- 
 
-