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 Summary
Constructors Constructor Description OriginGroupOverrideActionParameters()Creates an instance of OriginGroupOverrideActionParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringodataType()Get the odataType property: The @odata.type property.ResourceReferenceoriginGroup()Get the originGroup property: defines the OriginGroup that would override the DefaultOriginGroup.voidvalidate()Validates the instance.OriginGroupOverrideActionParameterswithOdataType(String odataType)Set the odataType property: The @odata.type property.OriginGroupOverrideActionParameterswithOriginGroup(ResourceReference originGroup)Set the originGroup property: defines the OriginGroup that would override the DefaultOriginGroup.
-
-
-
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.
-
-