Class ProtocolConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.ProtocolConfiguration
Configuration of the protocol.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the httpConfiguration property: HTTP configuration of the connectivity check.voidvalidate()Validates the instance.withHttpConfiguration(HttpConfiguration httpConfiguration) Set the httpConfiguration property: HTTP configuration of the connectivity check.
-
Constructor Details
-
ProtocolConfiguration
public ProtocolConfiguration()Creates an instance of ProtocolConfiguration class.
-
-
Method Details
-
httpConfiguration
Get the httpConfiguration property: HTTP configuration of the connectivity check.- Returns:
- the httpConfiguration value.
-
withHttpConfiguration
Set the httpConfiguration property: HTTP configuration of the connectivity check.- Parameters:
httpConfiguration- the httpConfiguration value to set.- Returns:
- the ProtocolConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-