Class MicrosoftGraphVerifiedDomain
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphVerifiedDomain
-
public final class MicrosoftGraphVerifiedDomain extends Object
verifiedDomain.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphVerifiedDomain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: verifiedDomain.String
capabilities()
Get the capabilities property: For example, 'Email', 'OfficeCommunicationsOnline'.Boolean
isDefault()
Get the isDefault property: true if this is the default domain associated with the tenant; otherwise, false.Boolean
isInitial()
Get the isInitial property: true if this is the initial domain associated with the tenant; otherwise, false.String
name()
Get the name property: The domain name; for example, 'contoso.onmicrosoft.com'.String
type()
Get the type property: For example, 'Managed'.void
validate()
Validates the instance.MicrosoftGraphVerifiedDomain
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: verifiedDomain.MicrosoftGraphVerifiedDomain
withCapabilities(String capabilities)
Set the capabilities property: For example, 'Email', 'OfficeCommunicationsOnline'.MicrosoftGraphVerifiedDomain
withIsDefault(Boolean isDefault)
Set the isDefault property: true if this is the default domain associated with the tenant; otherwise, false.MicrosoftGraphVerifiedDomain
withIsInitial(Boolean isInitial)
Set the isInitial property: true if this is the initial domain associated with the tenant; otherwise, false.MicrosoftGraphVerifiedDomain
withName(String name)
Set the name property: The domain name; for example, 'contoso.onmicrosoft.com'.MicrosoftGraphVerifiedDomain
withType(String type)
Set the type property: For example, 'Managed'.
-
-
-
Method Detail
-
capabilities
public String capabilities()
Get the capabilities property: For example, 'Email', 'OfficeCommunicationsOnline'.- Returns:
- the capabilities value.
-
withCapabilities
public MicrosoftGraphVerifiedDomain withCapabilities(String capabilities)
Set the capabilities property: For example, 'Email', 'OfficeCommunicationsOnline'.- Parameters:
capabilities
- the capabilities value to set.- Returns:
- the MicrosoftGraphVerifiedDomain object itself.
-
isDefault
public Boolean isDefault()
Get the isDefault property: true if this is the default domain associated with the tenant; otherwise, false.- Returns:
- the isDefault value.
-
withIsDefault
public MicrosoftGraphVerifiedDomain withIsDefault(Boolean isDefault)
Set the isDefault property: true if this is the default domain associated with the tenant; otherwise, false.- Parameters:
isDefault
- the isDefault value to set.- Returns:
- the MicrosoftGraphVerifiedDomain object itself.
-
isInitial
public Boolean isInitial()
Get the isInitial property: true if this is the initial domain associated with the tenant; otherwise, false.- Returns:
- the isInitial value.
-
withIsInitial
public MicrosoftGraphVerifiedDomain withIsInitial(Boolean isInitial)
Set the isInitial property: true if this is the initial domain associated with the tenant; otherwise, false.- Parameters:
isInitial
- the isInitial value to set.- Returns:
- the MicrosoftGraphVerifiedDomain object itself.
-
name
public String name()
Get the name property: The domain name; for example, 'contoso.onmicrosoft.com'.- Returns:
- the name value.
-
withName
public MicrosoftGraphVerifiedDomain withName(String name)
Set the name property: The domain name; for example, 'contoso.onmicrosoft.com'.- Parameters:
name
- the name value to set.- Returns:
- the MicrosoftGraphVerifiedDomain object itself.
-
type
public String type()
Get the type property: For example, 'Managed'.- Returns:
- the type value.
-
withType
public MicrosoftGraphVerifiedDomain withType(String type)
Set the type property: For example, 'Managed'.- Parameters:
type
- the type value to set.- Returns:
- the MicrosoftGraphVerifiedDomain object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: verifiedDomain.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphVerifiedDomain withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: verifiedDomain.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphVerifiedDomain object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-