Class OfficeConsentInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.fluent.models.OfficeConsentInner
public final class OfficeConsentInner
extends com.azure.core.management.ProxyResource
Consent for Office365 tenant that already made.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the consentId property: Help to easily cascade among the data layers.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
OfficeConsentInner
public OfficeConsentInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
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 OfficeConsentInner 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 OfficeConsentInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-