Class AfdEndpointPropertiesUpdateParameters

  • Direct Known Subclasses:
    AfdEndpointProperties

    public class AfdEndpointPropertiesUpdateParameters
    extends Object
    The JSON object containing endpoint update parameters.
    • Constructor Detail

      • AfdEndpointPropertiesUpdateParameters

        public AfdEndpointPropertiesUpdateParameters()
    • Method Detail

      • originResponseTimeoutSeconds

        public Integer originResponseTimeoutSeconds()
        Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
        Returns:
        the originResponseTimeoutSeconds value.
      • withOriginResponseTimeoutSeconds

        public AfdEndpointPropertiesUpdateParameters withOriginResponseTimeoutSeconds​(Integer originResponseTimeoutSeconds)
        Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
        Parameters:
        originResponseTimeoutSeconds - the originResponseTimeoutSeconds value to set.
        Returns:
        the AfdEndpointPropertiesUpdateParameters object itself.
      • enabledState

        public EnabledState enabledState()
        Get the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
        Returns:
        the enabledState value.
      • withEnabledState

        public AfdEndpointPropertiesUpdateParameters withEnabledState​(EnabledState enabledState)
        Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
        Parameters:
        enabledState - the enabledState value to set.
        Returns:
        the AfdEndpointPropertiesUpdateParameters object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.