Package com.oracle.bmc.waas.model
Class CreateWaasPolicyDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.waas.model.CreateWaasPolicyDetails.Builder
 
- 
- Enclosing class:
- CreateWaasPolicyDetails
 
 public static class CreateWaasPolicyDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateWaasPolicyDetails.BuilderadditionalDomains(List<String> additionalDomains)An array of additional domains for the specified web application.CreateWaasPolicyDetailsbuild()CreateWaasPolicyDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to create the WAAS policy.CreateWaasPolicyDetails.Buildercopy(CreateWaasPolicyDetails model)CreateWaasPolicyDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateWaasPolicyDetails.BuilderdisplayName(String displayName)A user-friendly name for the WAAS policy.CreateWaasPolicyDetails.Builderdomain(String domain)The web application domain that the WAAS policy protects.CreateWaasPolicyDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateWaasPolicyDetails.BuilderoriginGroups(Map<String,OriginGroup> originGroups)The map of origin groups and their keys used to associate origins to the wafConfig.CreateWaasPolicyDetails.Builderorigins(Map<String,Origin> origins)A map of host to origin for the web application.CreateWaasPolicyDetails.BuilderpolicyConfig(PolicyConfig policyConfig)CreateWaasPolicyDetails.BuilderwafConfig(WafConfigDetails wafConfig)
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateWaasPolicyDetails.Builder compartmentId(String compartmentId) The OCID of the compartment in which to create the WAAS policy.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
domainpublic CreateWaasPolicyDetails.Builder domain(String domain) The web application domain that the WAAS policy protects.- Parameters:
- domain- the value to set
- Returns:
- this builder
 
 - 
additionalDomainspublic CreateWaasPolicyDetails.Builder additionalDomains(List<String> additionalDomains) An array of additional domains for the specified web application.- Parameters:
- additionalDomains- the value to set
- Returns:
- this builder
 
 - 
originspublic 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. - Parameters:
- origins- the value to set
- Returns:
- this builder
 
 - 
originGroupspublic 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. - Parameters:
- originGroups- the value to set
- Returns:
- this builder
 
 - 
policyConfigpublic CreateWaasPolicyDetails.Builder policyConfig(PolicyConfig policyConfig) 
 - 
wafConfigpublic CreateWaasPolicyDetails.Builder wafConfig(WafConfigDetails wafConfig) 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateWaasPolicyDetails build() 
 - 
copypublic CreateWaasPolicyDetails.Builder copy(CreateWaasPolicyDetails model) 
 
- 
 
-