Class ProfilePropertiesUpdateParameters

java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.ProfilePropertiesUpdateParameters
All Implemented Interfaces:
com.azure.json.JsonSerializable<ProfilePropertiesUpdateParameters>

public final class ProfilePropertiesUpdateParameters extends Object implements com.azure.json.JsonSerializable<ProfilePropertiesUpdateParameters>
The JSON object containing profile update parameters.
  • Constructor Details

    • ProfilePropertiesUpdateParameters

      public ProfilePropertiesUpdateParameters()
      Creates an instance of ProfilePropertiesUpdateParameters class.
  • Method Details

    • 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 ProfilePropertiesUpdateParameters 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 ProfilePropertiesUpdateParameters object itself.
    • logScrubbing

      public ProfileLogScrubbing logScrubbing()
      Get the logScrubbing property: Defines rules to scrub sensitive fields in logs.
      Returns:
      the logScrubbing value.
    • withLogScrubbing

      public ProfilePropertiesUpdateParameters withLogScrubbing(ProfileLogScrubbing logScrubbing)
      Set the logScrubbing property: Defines rules to scrub sensitive fields in logs.
      Parameters:
      logScrubbing - the logScrubbing value to set.
      Returns:
      the ProfilePropertiesUpdateParameters object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ProfilePropertiesUpdateParameters>
      Throws:
      IOException
    • fromJson

      public static ProfilePropertiesUpdateParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ProfilePropertiesUpdateParameters from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ProfilePropertiesUpdateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ProfilePropertiesUpdateParameters.