Class ResourcesResponseEndpointsItem

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

public final class ResourcesResponseEndpointsItem extends Object
The ResourcesResponseEndpointsItem model.
  • Constructor Details

    • ResourcesResponseEndpointsItem

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

    • id

      public String id()
      Get the id property: The id property.
      Returns:
      the id value.
    • withId

      Set the id property: The id property.
      Parameters:
      id - the id value to set.
      Returns:
      the ResourcesResponseEndpointsItem object itself.
    • name

      public String name()
      Get the name property: The name property.
      Returns:
      the name value.
    • withName

      public ResourcesResponseEndpointsItem withName(String name)
      Set the name property: The name property.
      Parameters:
      name - the name value to set.
      Returns:
      the ResourcesResponseEndpointsItem object itself.
    • history

      public Boolean history()
      Get the history property: The history property.
      Returns:
      the history value.
    • withHistory

      public ResourcesResponseEndpointsItem withHistory(Boolean history)
      Set the history property: The history property.
      Parameters:
      history - the history value to set.
      Returns:
      the ResourcesResponseEndpointsItem object itself.
    • customDomains

      Get the customDomains property: The customDomains property.
      Returns:
      the customDomains value.
    • withCustomDomains

      Set the customDomains property: The customDomains property.
      Parameters:
      customDomains - the customDomains value to set.
      Returns:
      the ResourcesResponseEndpointsItem object itself.
    • validate

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