SecurityAssessmentPropertiesBaseRiskPathsItemEdge Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. SecurityAssessmentPropertiesBaseRiskPathsItemEdge
- com.
Implements
public final class SecurityAssessmentPropertiesBaseRiskPathsItemEdge
implements JsonSerializable<SecurityAssessmentPropertiesBaseRiskPathsItemEdge>
The SecurityAssessmentPropertiesBaseRiskPathsItemEdge model.
Constructor Summary
| Constructor | Description |
|---|---|
| SecurityAssessmentPropertiesBaseRiskPathsItemEdge() |
Creates an instance of Security |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security |
| String |
id()
Get the id property: Edge identifier. |
| String |
sourceId()
Get the source |
| String |
targetId()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Security |
withId(String id)
Set the id property: Edge identifier. |
|
Security |
withSourceId(String sourceId)
Set the source |
|
Security |
withTargetId(String targetId)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
SecurityAssessmentPropertiesBaseRiskPathsItemEdge
public SecurityAssessmentPropertiesBaseRiskPathsItemEdge()
Creates an instance of SecurityAssessmentPropertiesBaseRiskPathsItemEdge class.
Method Details
fromJson
public static SecurityAssessmentPropertiesBaseRiskPathsItemEdge fromJson(JsonReader jsonReader)
Reads an instance of SecurityAssessmentPropertiesBaseRiskPathsItemEdge from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Edge identifier.
Returns:
sourceId
public String sourceId()
Get the sourceId property: Source node identifier.
Returns:
targetId
public String targetId()
Get the targetId property: Target node identifier.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public SecurityAssessmentPropertiesBaseRiskPathsItemEdge withId(String id)
Set the id property: Edge identifier.
Parameters:
Returns:
withSourceId
public SecurityAssessmentPropertiesBaseRiskPathsItemEdge withSourceId(String sourceId)
Set the sourceId property: Source node identifier.
Parameters:
Returns:
withTargetId
public SecurityAssessmentPropertiesBaseRiskPathsItemEdge withTargetId(String targetId)
Set the targetId property: Target node identifier.
Parameters:
Returns: