Class OriginGroupOverrideActionParameters

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

public final class OriginGroupOverrideActionParameters extends Object
Defines the parameters for the origin group override action.
  • Constructor Details

    • OriginGroupOverrideActionParameters

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

    • typeName

      public String typeName()
      Get the typeName property: The typeName property.
      Returns:
      the typeName value.
    • withTypeName

      public OriginGroupOverrideActionParameters withTypeName(String typeName)
      Set the typeName property: The typeName property.
      Parameters:
      typeName - the typeName value to set.
      Returns:
      the OriginGroupOverrideActionParameters object itself.
    • originGroup

      public ResourceReference originGroup()
      Get the originGroup property: defines the OriginGroup that would override the DefaultOriginGroup.
      Returns:
      the originGroup value.
    • withOriginGroup

      public OriginGroupOverrideActionParameters withOriginGroup(ResourceReference originGroup)
      Set the originGroup property: defines the OriginGroup that would override the DefaultOriginGroup.
      Parameters:
      originGroup - the originGroup value to set.
      Returns:
      the OriginGroupOverrideActionParameters object itself.
    • validate

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