Class ServicesResourceIdentity


  • public class ServicesResourceIdentity
    extends Object
    Setting indicating whether the service has a managed identity associated with it.
    • Constructor Detail

      • ServicesResourceIdentity

        public ServicesResourceIdentity()
    • Method Detail

      • principalId

        public String principalId()
        Get the principalId property: The principal ID of the resource identity.
        Returns:
        the principalId value.
      • tenantId

        public String tenantId()
        Get the tenantId property: The tenant ID of the resource.
        Returns:
        the tenantId value.
      • type

        public ManagedServiceIdentityType type()
        Get the type property: Type of identity being specified, currently SystemAssigned and None are allowed.
        Returns:
        the type value.
      • withType

        public ServicesResourceIdentity withType​(ManagedServiceIdentityType type)
        Set the type property: Type of identity being specified, currently SystemAssigned and None are allowed.
        Parameters:
        type - the type value to set.
        Returns:
        the ServicesResourceIdentity object itself.
      • validate

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