Class OfficeConsentProperties
java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.OfficeConsentProperties
Consent property bag.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the consentId property: Help to easily cascade among the data layers.tenantId()
Get the tenantId property: The tenantId of the Office365 with the consent.void
validate()
Validates the instance.withConsentId
(String consentId) Set the consentId property: Help to easily cascade among the data layers.withTenantId
(String tenantId) Set the tenantId property: The tenantId of the Office365 with the consent.
-
Constructor Details
-
OfficeConsentProperties
public OfficeConsentProperties()
-
-
Method Details
-
tenantId
Get the tenantId property: The tenantId of the Office365 with the consent.- Returns:
- the tenantId value.
-
withTenantId
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
Get the consentId property: Help to easily cascade among the data layers.- Returns:
- the consentId value.
-
withConsentId
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.
-