ProtocolSettings Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ProtocolSettings
- com.
Implements
public final class ProtocolSettings
implements JsonSerializable<ProtocolSettings>
Protocol-level settings for the connection analyzer.
Constructor Summary
| Constructor | Description |
|---|---|
| ProtocolSettings() |
Creates an instance of Protocol |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Protocol |
fromJson(JsonReader jsonReader)
Reads an instance of Protocol |
|
Http |
httpConfiguration()
Get the http |
| Protocol |
protocol()
Get the protocol property: Network protocol. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Protocol |
withHttpConfiguration(HttpConfiguration httpConfiguration)
Set the http |
|
Protocol |
withProtocol(Protocol protocol)
Set the protocol property: Network protocol. |
Methods inherited from java.lang.Object
Constructor Details
ProtocolSettings
public ProtocolSettings()
Creates an instance of ProtocolSettings class.
Method Details
fromJson
public static ProtocolSettings fromJson(JsonReader jsonReader)
Reads an instance of ProtocolSettings from the JsonReader.
Parameters:
Returns:
Throws:
httpConfiguration
public HttpConfiguration httpConfiguration()
Get the httpConfiguration property: HTTP configuration (used when protocol is Http or Https).
Returns:
protocol
public Protocol protocol()
Get the protocol property: Network protocol.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHttpConfiguration
public ProtocolSettings withHttpConfiguration(HttpConfiguration httpConfiguration)
Set the httpConfiguration property: HTTP configuration (used when protocol is Http or Https).
Parameters:
Returns:
withProtocol
public ProtocolSettings withProtocol(Protocol protocol)
Set the protocol property: Network protocol.
Parameters:
Returns: