Class ProfileUpdateParameters

java.lang.Object
com.azure.resourcemanager.cdn.models.ProfileUpdateParameters

public final class ProfileUpdateParameters extends Object
Properties required to update a profile.
  • Constructor Details

    • ProfileUpdateParameters

      public ProfileUpdateParameters()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Profile tags.
      Returns:
      the tags value.
    • withTags

      public ProfileUpdateParameters withTags(Map<String,String> tags)
      Set the tags property: Profile tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the ProfileUpdateParameters object itself.
    • 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 ProfileUpdateParameters 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 ProfileUpdateParameters object itself.
    • validate

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