Class PolicyPropertiesScope

java.lang.Object
com.azure.resourcemanager.authorization.models.PolicyPropertiesScope

public final class PolicyPropertiesScope extends Object
Details of the resource scope.
  • Constructor Details

    • PolicyPropertiesScope

      public PolicyPropertiesScope()
      Creates an instance of PolicyPropertiesScope class.
  • Method Details

    • id

      public String id()
      Get the id property: Scope id of the resource.
      Returns:
      the id value.
    • withId

      public PolicyPropertiesScope withId(String id)
      Set the id property: Scope id of the resource.
      Parameters:
      id - the id value to set.
      Returns:
      the PolicyPropertiesScope object itself.
    • displayName

      public String displayName()
      Get the displayName property: Display name of the resource.
      Returns:
      the displayName value.
    • withDisplayName

      public PolicyPropertiesScope withDisplayName(String displayName)
      Set the displayName property: Display name of the resource.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the PolicyPropertiesScope object itself.
    • type

      public String type()
      Get the type property: Type of the resource.
      Returns:
      the type value.
    • withType

      public PolicyPropertiesScope withType(String type)
      Set the type property: Type of the resource.
      Parameters:
      type - the type value to set.
      Returns:
      the PolicyPropertiesScope object itself.
    • validate

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