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
Constructors Constructor Description OfficeConsentInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
consentId()
Get the consentId property: Help to easily cascade among the data layers.com.azure.core.management.SystemData
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.String
tenantId()
Get the tenantId property: The tenantId of the Office365 with the consent.void
validate()
Validates the instance.OfficeConsentInner
withConsentId(String consentId)
Set the consentId property: Help to easily cascade among the data layers.OfficeConsentInner
withTenantId(String tenantId)
Set the tenantId property: The tenantId of the Office365 with the consent.
-
-
-
Method Detail
-
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
public String tenantId()
Get the tenantId property: The tenantId of the Office365 with the consent.- Returns:
- the tenantId value.
-
withTenantId
public OfficeConsentInner withTenantId(String tenantId)
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
public String consentId()
Get the consentId property: Help to easily cascade among the data layers.- Returns:
- the consentId value.
-
withConsentId
public OfficeConsentInner withConsentId(String consentId)
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.
-
-