AfdEndpointPropertiesUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. fluent. models. AfdEndpointPropertiesUpdateParameters
- com.
Implements
public class AfdEndpointPropertiesUpdateParameters
implements JsonSerializable<AfdEndpointPropertiesUpdateParameters>
The JSON object containing endpoint update parameters.
Constructor Summary
| Constructor | Description |
|---|---|
| AfdEndpointPropertiesUpdateParameters() |
Creates an instance of Afd |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Enabled |
enabledState()
Get the enabled |
|
static
Afd |
fromJson(JsonReader jsonReader)
Reads an instance of Afd |
| String |
profileName()
Get the profile |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Afd |
withEnabledState(EnabledState enabledState)
Set the enabled |
Methods inherited from java.lang.Object
Constructor Details
AfdEndpointPropertiesUpdateParameters
public AfdEndpointPropertiesUpdateParameters()
Creates an instance of AfdEndpointPropertiesUpdateParameters class.
Method Details
enabledState
public EnabledState enabledState()
Get the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
Returns:
fromJson
public static AfdEndpointPropertiesUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of AfdEndpointPropertiesUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the endpoint.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabledState
public AfdEndpointPropertiesUpdateParameters withEnabledState(EnabledState enabledState)
Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
Parameters:
Returns: