SecurityAssessmentPropertiesBaseRiskPathsItem Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.SecurityAssessmentPropertiesBaseRiskPathsItem

Implements

public final class SecurityAssessmentPropertiesBaseRiskPathsItem
implements JsonSerializable<SecurityAssessmentPropertiesBaseRiskPathsItem>

The SecurityAssessmentPropertiesBaseRiskPathsItem model.

Constructor Summary

Constructor Description
SecurityAssessmentPropertiesBaseRiskPathsItem()

Creates an instance of SecurityAssessmentPropertiesBaseRiskPathsItem class.

Method Summary

Modifier and Type Method and Description
List<SecurityAssessmentPropertiesBaseRiskPathsItemEdge> edges()

Get the edges property: Connections between nodes.

static SecurityAssessmentPropertiesBaseRiskPathsItem fromJson(JsonReader jsonReader)

Reads an instance of SecurityAssessmentPropertiesBaseRiskPathsItem from the JsonReader.

String id()

Get the id property: Unique identifier for the path.

List<SecurityAssessmentPropertiesBaseRiskPathsPropertiesItemsItem> nodes()

Get the nodes property: The nodes property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SecurityAssessmentPropertiesBaseRiskPathsItem withEdges(List<SecurityAssessmentPropertiesBaseRiskPathsItemEdge> edges)

Set the edges property: Connections between nodes.

SecurityAssessmentPropertiesBaseRiskPathsItem withId(String id)

Set the id property: Unique identifier for the path.

SecurityAssessmentPropertiesBaseRiskPathsItem withNodes(List<SecurityAssessmentPropertiesBaseRiskPathsPropertiesItemsItem> nodes)

Set the nodes property: The nodes property.

Methods inherited from java.lang.Object

Constructor Details

SecurityAssessmentPropertiesBaseRiskPathsItem

public SecurityAssessmentPropertiesBaseRiskPathsItem()

Creates an instance of SecurityAssessmentPropertiesBaseRiskPathsItem class.

Method Details

edges

public List<SecurityAssessmentPropertiesBaseRiskPathsItemEdge> edges()

Get the edges property: Connections between nodes.

Returns:

the edges value.

fromJson

public static SecurityAssessmentPropertiesBaseRiskPathsItem fromJson(JsonReader jsonReader)

Reads an instance of SecurityAssessmentPropertiesBaseRiskPathsItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the SecurityAssessmentPropertiesBaseRiskPathsItem.

id

public String id()

Get the id property: Unique identifier for the path.

Returns:

the id value.

nodes

public List<SecurityAssessmentPropertiesBaseRiskPathsPropertiesItemsItem> nodes()

Get the nodes property: The nodes property.

Returns:

the nodes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEdges

public SecurityAssessmentPropertiesBaseRiskPathsItem withEdges(List<SecurityAssessmentPropertiesBaseRiskPathsItemEdge> edges)

Set the edges property: Connections between nodes.

Parameters:

edges - the edges value to set.

Returns:

the SecurityAssessmentPropertiesBaseRiskPathsItem object itself.

withId

public SecurityAssessmentPropertiesBaseRiskPathsItem withId(String id)

Set the id property: Unique identifier for the path.

Parameters:

id - the id value to set.

Returns:

the SecurityAssessmentPropertiesBaseRiskPathsItem object itself.

withNodes

public SecurityAssessmentPropertiesBaseRiskPathsItem withNodes(List<SecurityAssessmentPropertiesBaseRiskPathsPropertiesItemsItem> nodes)

Set the nodes property: The nodes property.

Parameters:

nodes - the nodes value to set.

Returns:

the SecurityAssessmentPropertiesBaseRiskPathsItem object itself.

Applies to