public static class CreateWaasPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateWaasPolicyDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to create the WAAS policy.
compartmentId
- the value to setpublic CreateWaasPolicyDetails.Builder displayName(String displayName)
A user-friendly name for the WAAS policy. The name can be changed and does not need to be unique.
displayName
- the value to setpublic CreateWaasPolicyDetails.Builder domain(String domain)
The web application domain that the WAAS policy protects.
domain
- the value to setpublic CreateWaasPolicyDetails.Builder additionalDomains(List<String> additionalDomains)
An array of additional domains for the specified web application.
additionalDomains
- the value to setpublic CreateWaasPolicyDetails.Builder origins(Map<String,Origin> origins)
A map of host to origin for the web application. The key should be a customer friendly name for the host, ex. primary, secondary, etc.
origins
- the value to setpublic CreateWaasPolicyDetails.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. To add additional origins to your WAAS policy, update the origins
field
of a UpdateWaasPolicy
request.
originGroups
- the value to setpublic CreateWaasPolicyDetails.Builder policyConfig(PolicyConfig policyConfig)
public CreateWaasPolicyDetails.Builder wafConfig(WafConfigDetails wafConfig)
public CreateWaasPolicyDetails.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 CreateWaasPolicyDetails.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 CreateWaasPolicyDetails build()
public CreateWaasPolicyDetails.Builder copy(CreateWaasPolicyDetails model)
Copyright © 2016–2024. All rights reserved.