Class ServiceManagedIdentity


  • public class ServiceManagedIdentity
    extends Object
    Managed service identity (system assigned and/or user assigned identities).
    • Constructor Detail

      • ServiceManagedIdentity

        public ServiceManagedIdentity()
    • Method Detail

      • identity

        public ServiceManagedIdentityIdentity identity()
        Get the identity property: Setting indicating whether the service has a managed identity associated with it.
        Returns:
        the identity value.
      • withIdentity

        public ServiceManagedIdentity withIdentity​(ServiceManagedIdentityIdentity identity)
        Set the identity property: Setting indicating whether the service has a managed identity associated with it.
        Parameters:
        identity - the identity value to set.
        Returns:
        the ServiceManagedIdentity object itself.
      • validate

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