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