Class AfdEndpointPropertiesUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.fluent.models.AfdEndpointPropertiesUpdateParameters
-
- Direct Known Subclasses:
AfdEndpointProperties
public class AfdEndpointPropertiesUpdateParameters extends Object
The JSON object containing endpoint update parameters.
-
-
Constructor Summary
Constructors Constructor Description AfdEndpointPropertiesUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnabledStateenabledState()Get the enabledState property: Whether to enable use of this rule.StringprofileName()Get the profileName property: The name of the profile which holds the endpoint.voidvalidate()Validates the instance.AfdEndpointPropertiesUpdateParameterswithEnabledState(EnabledState enabledState)Set the enabledState property: Whether to enable use of this rule.
-
-
-
Method Detail
-
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the endpoint.- Returns:
- the profileName value.
-
enabledState
public EnabledState enabledState()
Get the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.- Returns:
- the enabledState value.
-
withEnabledState
public AfdEndpointPropertiesUpdateParameters withEnabledState(EnabledState enabledState)
Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.- Parameters:
enabledState- the enabledState value to set.- Returns:
- the AfdEndpointPropertiesUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-