ConnectionAnalyzerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ConnectionAnalyzerProperties

Implements

public final class ConnectionAnalyzerProperties
implements JsonSerializable<ConnectionAnalyzerProperties>

Properties of a connection analyzer.

Constructor Summary

Constructor Description
ConnectionAnalyzerProperties()

Creates an instance of ConnectionAnalyzerProperties class.

Method Summary

Modifier and Type Method and Description
ConnectionAnalyzerEndpoint destination()

Get the destination property: Destination endpoint of the connection analyzer.

List<DiagnosticOperation> diagnosticOperations()

Get the diagnosticOperations property: List of diagnostic operations to run.

DiagnosticOperationsSettings diagnosticOperationsSettings()

Get the diagnosticOperationsSettings property: Per-operation diagnostic settings.

Integer expiryInDays()

Get the expiryInDays property: Time-to-live (days) before the analyzer expires.

static ConnectionAnalyzerProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectionAnalyzerProperties from the JsonReader.

OutputSettings outputSettings()

Get the outputSettings property: Output settings (e.g.

ProtocolSettings protocolSettings()

Get the protocolSettings property: Protocol-level settings.

CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the connection analyzer resource.

OffsetDateTime requestTime()

Get the requestTime property: UTC time when the connection analyzer request was received.

ConnectionAnalyzerEndpoint source()

Get the source property: Source endpoint of the connection analyzer.

ConnectionAnalyzerStatus status()

Get the status property: Current execution status of the connection analyzer.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectionAnalyzerProperties withDestination(ConnectionAnalyzerEndpoint destination)

Set the destination property: Destination endpoint of the connection analyzer.

ConnectionAnalyzerProperties withDiagnosticOperations(List<DiagnosticOperation> diagnosticOperations)

Set the diagnosticOperations property: List of diagnostic operations to run.

ConnectionAnalyzerProperties withDiagnosticOperationsSettings(DiagnosticOperationsSettings diagnosticOperationsSettings)

Set the diagnosticOperationsSettings property: Per-operation diagnostic settings.

ConnectionAnalyzerProperties withExpiryInDays(Integer expiryInDays)

Set the expiryInDays property: Time-to-live (days) before the analyzer expires.

ConnectionAnalyzerProperties withOutputSettings(OutputSettings outputSettings)

Set the outputSettings property: Output settings (e.g.

ConnectionAnalyzerProperties withProtocolSettings(ProtocolSettings protocolSettings)

Set the protocolSettings property: Protocol-level settings.

ConnectionAnalyzerProperties withSource(ConnectionAnalyzerEndpoint source)

Set the source property: Source endpoint of the connection analyzer.

Methods inherited from java.lang.Object

Constructor Details

ConnectionAnalyzerProperties

public ConnectionAnalyzerProperties()

Creates an instance of ConnectionAnalyzerProperties class.

Method Details

destination

public ConnectionAnalyzerEndpoint destination()

Get the destination property: Destination endpoint of the connection analyzer.

Returns:

the destination value.

diagnosticOperations

public List<DiagnosticOperation> diagnosticOperations()

Get the diagnosticOperations property: List of diagnostic operations to run.

Returns:

the diagnosticOperations value.

diagnosticOperationsSettings

public DiagnosticOperationsSettings diagnosticOperationsSettings()

Get the diagnosticOperationsSettings property: Per-operation diagnostic settings.

Returns:

the diagnosticOperationsSettings value.

expiryInDays

public Integer expiryInDays()

Get the expiryInDays property: Time-to-live (days) before the analyzer expires.

Returns:

the expiryInDays value.

fromJson

public static ConnectionAnalyzerProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectionAnalyzerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectionAnalyzerProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

outputSettings

public OutputSettings outputSettings()

Get the outputSettings property: Output settings (e.g. storage account).

Returns:

the outputSettings value.

protocolSettings

public ProtocolSettings protocolSettings()

Get the protocolSettings property: Protocol-level settings.

Returns:

the protocolSettings value.

provisioningState

public CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the connection analyzer resource.

Returns:

the provisioningState value.

requestTime

public OffsetDateTime requestTime()

Get the requestTime property: UTC time when the connection analyzer request was received.

Returns:

the requestTime value.

source

public ConnectionAnalyzerEndpoint source()

Get the source property: Source endpoint of the connection analyzer.

Returns:

the source value.

status

public ConnectionAnalyzerStatus status()

Get the status property: Current execution status of the connection analyzer.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDestination

public ConnectionAnalyzerProperties withDestination(ConnectionAnalyzerEndpoint destination)

Set the destination property: Destination endpoint of the connection analyzer.

Parameters:

destination - the destination value to set.

Returns:

the ConnectionAnalyzerProperties object itself.

withDiagnosticOperations

public ConnectionAnalyzerProperties withDiagnosticOperations(List<DiagnosticOperation> diagnosticOperations)

Set the diagnosticOperations property: List of diagnostic operations to run.

Parameters:

diagnosticOperations - the diagnosticOperations value to set.

Returns:

the ConnectionAnalyzerProperties object itself.

withDiagnosticOperationsSettings

public ConnectionAnalyzerProperties withDiagnosticOperationsSettings(DiagnosticOperationsSettings diagnosticOperationsSettings)

Set the diagnosticOperationsSettings property: Per-operation diagnostic settings.

Parameters:

diagnosticOperationsSettings - the diagnosticOperationsSettings value to set.

Returns:

the ConnectionAnalyzerProperties object itself.

withExpiryInDays

public ConnectionAnalyzerProperties withExpiryInDays(Integer expiryInDays)

Set the expiryInDays property: Time-to-live (days) before the analyzer expires.

Parameters:

expiryInDays - the expiryInDays value to set.

Returns:

the ConnectionAnalyzerProperties object itself.

withOutputSettings

public ConnectionAnalyzerProperties withOutputSettings(OutputSettings outputSettings)

Set the outputSettings property: Output settings (e.g. storage account).

Parameters:

outputSettings - the outputSettings value to set.

Returns:

the ConnectionAnalyzerProperties object itself.

withProtocolSettings

public ConnectionAnalyzerProperties withProtocolSettings(ProtocolSettings protocolSettings)

Set the protocolSettings property: Protocol-level settings.

Parameters:

protocolSettings - the protocolSettings value to set.

Returns:

the ConnectionAnalyzerProperties object itself.

withSource

public ConnectionAnalyzerProperties withSource(ConnectionAnalyzerEndpoint source)

Set the source property: Source endpoint of the connection analyzer.

Parameters:

source - the source value to set.

Returns:

the ConnectionAnalyzerProperties object itself.

Applies to