Class OriginGroupOverrideActionParameters


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

      • OriginGroupOverrideActionParameters

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

      • odataType

        public String odataType()
        Get the odataType property: The @odata.type property.
        Returns:
        the odataType value.
      • withOdataType

        public OriginGroupOverrideActionParameters withOdataType​(String odataType)
        Set the odataType property: The @odata.type property.
        Parameters:
        odataType - the odataType 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.