Class RelationProperties
java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.RelationProperties
Relation property bag.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the relatedResourceId property: The resource ID of the related resource.Get the relatedResourceKind property: The resource kind of the related resource.Get the relatedResourceName property: The name of the related resource.Get the relatedResourceType property: The resource type of the related resource.void
validate()
Validates the instance.withRelatedResourceId
(String relatedResourceId) Set the relatedResourceId property: The resource ID of the related resource.
-
Constructor Details
-
RelationProperties
public RelationProperties()
-
-
Method Details
-
withRelatedResourceId
Set the relatedResourceId property: The resource ID of the related resource.- Parameters:
relatedResourceId
- the relatedResourceId value to set.- Returns:
- the RelationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.