Class UpdateWaasPolicyDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public UpdateWaasPolicyDetails.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
      • additionalDomains

        public UpdateWaasPolicyDetails.Builder additionalDomains​(List<String> additionalDomains)
        An array of additional domains protected by this WAAS policy.
        Parameters:
        additionalDomains - the value to set
        Returns:
        this builder
      • origins

        public UpdateWaasPolicyDetails.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
      • originGroups

        public UpdateWaasPolicyDetails.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
      • freeformTags

        public UpdateWaasPolicyDetails.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 UpdateWaasPolicyDetails.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