Class MicrosoftGraphManagedAppRegistration

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphManagedAppRegistration

public final class MicrosoftGraphManagedAppRegistration extends MicrosoftGraphEntity
managedAppRegistration

The ManagedAppEntity is the base entity type for all other entity types under app management workflow.

  • Constructor Details

    • MicrosoftGraphManagedAppRegistration

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

    • appIdentifier

      public Map<String,Object> appIdentifier()
      Get the appIdentifier property: The identifier for a mobile app.
      Returns:
      the appIdentifier value.
    • withAppIdentifier

      public MicrosoftGraphManagedAppRegistration withAppIdentifier(Map<String,Object> appIdentifier)
      Set the appIdentifier property: The identifier for a mobile app.
      Parameters:
      appIdentifier - the appIdentifier value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • applicationVersion

      public String applicationVersion()
      Get the applicationVersion property: App version.
      Returns:
      the applicationVersion value.
    • withApplicationVersion

      public MicrosoftGraphManagedAppRegistration withApplicationVersion(String applicationVersion)
      Set the applicationVersion property: App version.
      Parameters:
      applicationVersion - the applicationVersion value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • createdDateTime

      public OffsetDateTime createdDateTime()
      Get the createdDateTime property: Date and time of creation.
      Returns:
      the createdDateTime value.
    • withCreatedDateTime

      public MicrosoftGraphManagedAppRegistration withCreatedDateTime(OffsetDateTime createdDateTime)
      Set the createdDateTime property: Date and time of creation.
      Parameters:
      createdDateTime - the createdDateTime value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • deviceName

      public String deviceName()
      Get the deviceName property: Host device name.
      Returns:
      the deviceName value.
    • withDeviceName

      public MicrosoftGraphManagedAppRegistration withDeviceName(String deviceName)
      Set the deviceName property: Host device name.
      Parameters:
      deviceName - the deviceName value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • deviceTag

      public String deviceTag()
      Get the deviceTag property: App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions.
      Returns:
      the deviceTag value.
    • withDeviceTag

      public MicrosoftGraphManagedAppRegistration withDeviceTag(String deviceTag)
      Set the deviceTag property: App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions.
      Parameters:
      deviceTag - the deviceTag value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • deviceType

      public String deviceType()
      Get the deviceType property: Host device type.
      Returns:
      the deviceType value.
    • withDeviceType

      public MicrosoftGraphManagedAppRegistration withDeviceType(String deviceType)
      Set the deviceType property: Host device type.
      Parameters:
      deviceType - the deviceType value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • flaggedReasons

      public List<MicrosoftGraphManagedAppFlaggedReason> flaggedReasons()
      Get the flaggedReasons property: Zero or more reasons an app registration is flagged. E.g. app running on rooted device.
      Returns:
      the flaggedReasons value.
    • withFlaggedReasons

      Set the flaggedReasons property: Zero or more reasons an app registration is flagged. E.g. app running on rooted device.
      Parameters:
      flaggedReasons - the flaggedReasons value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • lastSyncDateTime

      public OffsetDateTime lastSyncDateTime()
      Get the lastSyncDateTime property: Date and time of last the app synced with management service.
      Returns:
      the lastSyncDateTime value.
    • withLastSyncDateTime

      public MicrosoftGraphManagedAppRegistration withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
      Set the lastSyncDateTime property: Date and time of last the app synced with management service.
      Parameters:
      lastSyncDateTime - the lastSyncDateTime value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • managementSdkVersion

      public String managementSdkVersion()
      Get the managementSdkVersion property: App management SDK version.
      Returns:
      the managementSdkVersion value.
    • withManagementSdkVersion

      public MicrosoftGraphManagedAppRegistration withManagementSdkVersion(String managementSdkVersion)
      Set the managementSdkVersion property: App management SDK version.
      Parameters:
      managementSdkVersion - the managementSdkVersion value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • platformVersion

      public String platformVersion()
      Get the platformVersion property: Operating System version.
      Returns:
      the platformVersion value.
    • withPlatformVersion

      public MicrosoftGraphManagedAppRegistration withPlatformVersion(String platformVersion)
      Set the platformVersion property: Operating System version.
      Parameters:
      platformVersion - the platformVersion value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • userId

      public String userId()
      Get the userId property: The user Id to who this app registration belongs.
      Returns:
      the userId value.
    • withUserId

      public MicrosoftGraphManagedAppRegistration withUserId(String userId)
      Set the userId property: The user Id to who this app registration belongs.
      Parameters:
      userId - the userId value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • version

      public String version()
      Get the version property: Version of the entity.
      Returns:
      the version value.
    • withVersion

      public MicrosoftGraphManagedAppRegistration withVersion(String version)
      Set the version property: Version of the entity.
      Parameters:
      version - the version value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • appliedPolicies

      public List<MicrosoftGraphManagedAppPolicy> appliedPolicies()
      Get the appliedPolicies property: Zero or more policys already applied on the registered app when it last synchronized with managment service.
      Returns:
      the appliedPolicies value.
    • withAppliedPolicies

      public MicrosoftGraphManagedAppRegistration withAppliedPolicies(List<MicrosoftGraphManagedAppPolicy> appliedPolicies)
      Set the appliedPolicies property: Zero or more policys already applied on the registered app when it last synchronized with managment service.
      Parameters:
      appliedPolicies - the appliedPolicies value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • intendedPolicies

      public List<MicrosoftGraphManagedAppPolicy> intendedPolicies()
      Get the intendedPolicies property: Zero or more policies admin intended for the app as of now.
      Returns:
      the intendedPolicies value.
    • withIntendedPolicies

      public MicrosoftGraphManagedAppRegistration withIntendedPolicies(List<MicrosoftGraphManagedAppPolicy> intendedPolicies)
      Set the intendedPolicies property: Zero or more policies admin intended for the app as of now.
      Parameters:
      intendedPolicies - the intendedPolicies value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • operations

      Get the operations property: Zero or more long running operations triggered on the app registration.
      Returns:
      the operations value.
    • withOperations

      Set the operations property: Zero or more long running operations triggered on the app registration.
      Parameters:
      operations - the operations value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: The ManagedAppEntity is the base entity type for all other entity types under app management workflow.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphManagedAppRegistration withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: The ManagedAppEntity is the base entity type for all other entity types under app management workflow.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphManagedAppRegistration object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

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