Class OfficeConsentProperties

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

public final class OfficeConsentProperties extends Object
Consent property bag.
  • Constructor Details

    • OfficeConsentProperties

      public OfficeConsentProperties()
  • Method Details

    • tenantId

      public String tenantId()
      Get the tenantId property: The tenantId of the Office365 with the consent.
      Returns:
      the tenantId value.
    • withTenantId

      public OfficeConsentProperties withTenantId(String tenantId)
      Set the tenantId property: The tenantId of the Office365 with the consent.
      Parameters:
      tenantId - the tenantId value to set.
      Returns:
      the OfficeConsentProperties object itself.
    • consentId

      public String consentId()
      Get the consentId property: Help to easily cascade among the data layers.
      Returns:
      the consentId value.
    • withConsentId

      public OfficeConsentProperties withConsentId(String consentId)
      Set the consentId property: Help to easily cascade among the data layers.
      Parameters:
      consentId - the consentId value to set.
      Returns:
      the OfficeConsentProperties object itself.
    • validate

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