java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.RelationProperties

public final class RelationProperties extends Object
Relation property bag.
  • Constructor Details

    • RelationProperties

      public RelationProperties()
  • Method Details

    • relatedResourceId

      public String relatedResourceId()
      Get the relatedResourceId property: The resource ID of the related resource.
      Returns:
      the relatedResourceId value.
    • withRelatedResourceId

      public RelationProperties withRelatedResourceId(String relatedResourceId)
      Set the relatedResourceId property: The resource ID of the related resource.
      Parameters:
      relatedResourceId - the relatedResourceId value to set.
      Returns:
      the RelationProperties object itself.
    • relatedResourceName

      public String relatedResourceName()
      Get the relatedResourceName property: The name of the related resource.
      Returns:
      the relatedResourceName value.
    • relatedResourceType

      public String relatedResourceType()
      Get the relatedResourceType property: The resource type of the related resource.
      Returns:
      the relatedResourceType value.
    • relatedResourceKind

      public String relatedResourceKind()
      Get the relatedResourceKind property: The resource kind of the related resource.
      Returns:
      the relatedResourceKind value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.