Class ProtocolConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ProtocolConfiguration
-
public final class ProtocolConfiguration extends Object
Configuration of the protocol.
-
-
Constructor Summary
Constructors Constructor Description ProtocolConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpConfigurationhttpConfiguration()Get the httpConfiguration property: HTTP configuration of the connectivity check.voidvalidate()Validates the instance.ProtocolConfigurationwithHttpConfiguration(HttpConfiguration httpConfiguration)Set the httpConfiguration property: HTTP configuration of the connectivity check.
-
-
-
Method Detail
-
httpConfiguration
public HttpConfiguration httpConfiguration()
Get the httpConfiguration property: HTTP configuration of the connectivity check.- Returns:
- the httpConfiguration value.
-
withHttpConfiguration
public ProtocolConfiguration withHttpConfiguration(HttpConfiguration httpConfiguration)
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.
-
-