Class OriginGroupOverride
java.lang.Object
com.azure.resourcemanager.cdn.models.OriginGroupOverride
Defines the parameters for the origin group override configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the forwardingProtocol property: Protocol this rule will use when forwarding traffic to backends.Get the originGroup property: defines the OriginGroup that would override the DefaultOriginGroup on route.voidvalidate()Validates the instance.withForwardingProtocol(ForwardingProtocol forwardingProtocol) Set the forwardingProtocol property: Protocol this rule will use when forwarding traffic to backends.withOriginGroup(ResourceReference originGroup) Set the originGroup property: defines the OriginGroup that would override the DefaultOriginGroup on route.
-
Constructor Details
-
OriginGroupOverride
public OriginGroupOverride()
-
-
Method Details
-
originGroup
Get the originGroup property: defines the OriginGroup that would override the DefaultOriginGroup on route.- Returns:
- the originGroup value.
-
withOriginGroup
Set the originGroup property: defines the OriginGroup that would override the DefaultOriginGroup on route.- Parameters:
originGroup- the originGroup value to set.- Returns:
- the OriginGroupOverride object itself.
-
forwardingProtocol
Get the forwardingProtocol property: Protocol this rule will use when forwarding traffic to backends.- Returns:
- the forwardingProtocol value.
-
withForwardingProtocol
Set the forwardingProtocol property: Protocol this rule will use when forwarding traffic to backends.- Parameters:
forwardingProtocol- the forwardingProtocol value to set.- Returns:
- the OriginGroupOverride object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-