ConnectionAnalyzerInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ConnectionAnalyzerInner

Implements

public final class ConnectionAnalyzerInner
implements JsonSerializable<ConnectionAnalyzerInner>

Defines a connection analyzer resource.

Constructor Summary

Constructor Description
ConnectionAnalyzerInner()

Creates an instance of ConnectionAnalyzerInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ConnectionAnalyzerInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionAnalyzerInner from the JsonReader.

String id()

Get the id property: Resource ID of the connection analyzer.

String location()

Get the location property: Resource location.

String name()

Get the name property: Name of the connection analyzer.

ConnectionAnalyzerProperties properties()

Get the properties property: Properties of the connection analyzer.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

ConnectionAnalyzerInner withLocation(String location)

Set the location property: Resource location.

ConnectionAnalyzerInner withProperties(ConnectionAnalyzerProperties properties)

Set the properties property: Properties of the connection analyzer.

ConnectionAnalyzerInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

ConnectionAnalyzerInner

public ConnectionAnalyzerInner()

Creates an instance of ConnectionAnalyzerInner class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static ConnectionAnalyzerInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionAnalyzerInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectionAnalyzerInner 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.

id

public String id()

Get the id property: Resource ID of the connection analyzer.

Returns:

the id value.

location

public String location()

Get the location property: Resource location.

Returns:

the location value.

name

public String name()

Get the name property: Name of the connection analyzer.

Returns:

the name value.

properties

public ConnectionAnalyzerProperties properties()

Get the properties property: Properties of the connection analyzer.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public ConnectionAnalyzerInner withLocation(String location)

Set the location property: Resource location.

Parameters:

location - the location value to set.

Returns:

the ConnectionAnalyzerInner object itself.

withProperties

public ConnectionAnalyzerInner withProperties(ConnectionAnalyzerProperties properties)

Set the properties property: Properties of the connection analyzer.

Parameters:

properties - the properties value to set.

Returns:

the ConnectionAnalyzerInner object itself.

withTags

public ConnectionAnalyzerInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the ConnectionAnalyzerInner object itself.

Applies to