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 ResourceReferenceoriginGroup()Get the originGroup property: defines the OriginGroup that would override the DefaultOriginGroup.StringtypeName()Get the typeName property: The typeName property.voidvalidate()Validates the instance.OriginGroupOverrideActionParameterswithOriginGroup(ResourceReference originGroup)Set the originGroup property: defines the OriginGroup that would override the DefaultOriginGroup.OriginGroupOverrideActionParameterswithTypeName(String typeName)Set the typeName property: The typeName property.
-
-
-
Method Detail
-
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.
-
-