Compartir vía


MicrosoftGraphDomainInner Class

public final class MicrosoftGraphDomainInner
extends MicrosoftGraphEntity

domain.

Constructor Summary

Constructor Description
MicrosoftGraphDomainInner()

Creates an instance of MicrosoftGraphDomainInner class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: domain.

String authenticationType()

Get the authenticationType property: Indicates the configured authentication type for the domain.

String availabilityStatus()

Get the availabilityStatus property: This property is always null except when the verify action is used.

List<MicrosoftGraphDirectoryObjectInner> domainNameReferences()

Get the domainNameReferences property: Read-only, Nullable.

Boolean isAdminManaged()

Get the isAdminManaged property: The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365.

Boolean isDefault()

Get the isDefault property: True if this is the default domain that is used for user creation.

Boolean isInitial()

Get the isInitial property: True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com).

Boolean isRoot()

Get the isRoot property: True if the domain is a verified root domain.

Boolean isVerified()

Get the isVerified property: True if the domain has completed domain ownership verification.

String manufacturer()

Get the manufacturer property: The manufacturer property.

String model()

Get the model property: The model property.

Integer passwordNotificationWindowInDays()

Get the passwordNotificationWindowInDays property: Specifies the number of days before a user receives notification that their password will expire.

Integer passwordValidityPeriodInDays()

Get the passwordValidityPeriodInDays property: Specifies the length of time that a password is valid before it must be changed.

List<MicrosoftGraphDomainDnsRecord> serviceConfigurationRecords()

Get the serviceConfigurationRecords property: DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services.Read-only, Nullable.

MicrosoftGraphDomainState state()

Get the state property: domainState.

List<String> supportedServices()

Get the supportedServices property: The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable.

void validate()

Validates the instance.

List<MicrosoftGraphDomainDnsRecord> verificationDnsRecords()

Get the verificationDnsRecords property: DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD.Read-only, Nullable.

MicrosoftGraphDomainInner withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: domain.

MicrosoftGraphDomainInner withAuthenticationType(String authenticationType)

Set the authenticationType property: Indicates the configured authentication type for the domain.

MicrosoftGraphDomainInner withAvailabilityStatus(String availabilityStatus)

Set the availabilityStatus property: This property is always null except when the verify action is used.

MicrosoftGraphDomainInner withDomainNameReferences(List<MicrosoftGraphDirectoryObjectInner> domainNameReferences)

Set the domainNameReferences property: Read-only, Nullable.

MicrosoftGraphDomainInner withId(String id)

Set the id property: Read-only.

MicrosoftGraphDomainInner withIsAdminManaged(Boolean isAdminManaged)

Set the isAdminManaged property: The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365.

MicrosoftGraphDomainInner withIsDefault(Boolean isDefault)

Set the isDefault property: True if this is the default domain that is used for user creation.

MicrosoftGraphDomainInner withIsInitial(Boolean isInitial)

Set the isInitial property: True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com).

MicrosoftGraphDomainInner withIsRoot(Boolean isRoot)

Set the isRoot property: True if the domain is a verified root domain.

MicrosoftGraphDomainInner withIsVerified(Boolean isVerified)

Set the isVerified property: True if the domain has completed domain ownership verification.

MicrosoftGraphDomainInner withManufacturer(String manufacturer)

Set the manufacturer property: The manufacturer property.

MicrosoftGraphDomainInner withModel(String model)

Set the model property: The model property.

MicrosoftGraphDomainInner withPasswordNotificationWindowInDays(Integer passwordNotificationWindowInDays)

Set the passwordNotificationWindowInDays property: Specifies the number of days before a user receives notification that their password will expire.

MicrosoftGraphDomainInner withPasswordValidityPeriodInDays(Integer passwordValidityPeriodInDays)

Set the passwordValidityPeriodInDays property: Specifies the length of time that a password is valid before it must be changed.

MicrosoftGraphDomainInner withServiceConfigurationRecords(List<MicrosoftGraphDomainDnsRecord> serviceConfigurationRecords)

Set the serviceConfigurationRecords property: DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services.Read-only, Nullable.

MicrosoftGraphDomainInner withState(MicrosoftGraphDomainState state)

Set the state property: domainState.

MicrosoftGraphDomainInner withSupportedServices(List<String> supportedServices)

Set the supportedServices property: The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable.

MicrosoftGraphDomainInner withVerificationDnsRecords(List<MicrosoftGraphDomainDnsRecord> verificationDnsRecords)

Set the verificationDnsRecords property: DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD.Read-only, Nullable.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDomainInner

public MicrosoftGraphDomainInner()

Creates an instance of MicrosoftGraphDomainInner class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: domain.

Overrides:

MicrosoftGraphDomainInner.additionalProperties()

Returns:

the additionalProperties value.

authenticationType

public String authenticationType()

Get the authenticationType property: Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication.Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. This property is read-only and is not nullable.

Returns:

the authenticationType value.

availabilityStatus

public String availabilityStatus()

Get the availabilityStatus property: This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled.

Returns:

the availabilityStatus value.

domainNameReferences

public List domainNameReferences()

Get the domainNameReferences property: Read-only, Nullable.

Returns:

the domainNameReferences value.

isAdminManaged

public Boolean isAdminManaged()

Get the isAdminManaged property: The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365. Otherwise, the value is true. Not nullable.

Returns:

the isAdminManaged value.

isDefault

public Boolean isDefault()

Get the isDefault property: True if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable.

Returns:

the isDefault value.

isInitial

public Boolean isInitial()

Get the isInitial property: True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com). There is only one initial domain per company. Not nullable.

Returns:

the isInitial value.

isRoot

public Boolean isRoot()

Get the isRoot property: True if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable.

Returns:

the isRoot value.

isVerified

public Boolean isVerified()

Get the isVerified property: True if the domain has completed domain ownership verification. Not nullable.

Returns:

the isVerified value.

manufacturer

public String manufacturer()

Get the manufacturer property: The manufacturer property.

Returns:

the manufacturer value.

model

public String model()

Get the model property: The model property.

Returns:

the model value.

passwordNotificationWindowInDays

public Integer passwordNotificationWindowInDays()

Get the passwordNotificationWindowInDays property: Specifies the number of days before a user receives notification that their password will expire. If the property is not set, a default value of 14 days will be used.

Returns:

the passwordNotificationWindowInDays value.

passwordValidityPeriodInDays

public Integer passwordValidityPeriodInDays()

Get the passwordValidityPeriodInDays property: Specifies the length of time that a password is valid before it must be changed. If the property is not set, a default value of 90 days will be used.

Returns:

the passwordValidityPeriodInDays value.

serviceConfigurationRecords

public List serviceConfigurationRecords()

Get the serviceConfigurationRecords property: DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services.Read-only, Nullable.

Returns:

the serviceConfigurationRecords value.

state

public MicrosoftGraphDomainState state()

Get the state property: domainState.

Returns:

the state value.

supportedServices

public List supportedServices()

Get the supportedServices property: The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable.

Returns:

the supportedServices value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphDomainInner.validate()

verificationDnsRecords

public List verificationDnsRecords()

Get the verificationDnsRecords property: DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD.Read-only, Nullable.

Returns:

the verificationDnsRecords value.

withAdditionalProperties

public MicrosoftGraphDomainInner withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: domain.

Overrides:

MicrosoftGraphDomainInner.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withAuthenticationType

public MicrosoftGraphDomainInner withAuthenticationType(String authenticationType)

Set the authenticationType property: Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication.Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. This property is read-only and is not nullable.

Parameters:

authenticationType - the authenticationType value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withAvailabilityStatus

public MicrosoftGraphDomainInner withAvailabilityStatus(String availabilityStatus)

Set the availabilityStatus property: This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled.

Parameters:

availabilityStatus - the availabilityStatus value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withDomainNameReferences

public MicrosoftGraphDomainInner withDomainNameReferences(List domainNameReferences)

Set the domainNameReferences property: Read-only, Nullable.

Parameters:

domainNameReferences - the domainNameReferences value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withId

public MicrosoftGraphDomainInner withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphDomainInner.withId(String id)

Parameters:

id

withIsAdminManaged

public MicrosoftGraphDomainInner withIsAdminManaged(Boolean isAdminManaged)

Set the isAdminManaged property: The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365. Otherwise, the value is true. Not nullable.

Parameters:

isAdminManaged - the isAdminManaged value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withIsDefault

public MicrosoftGraphDomainInner withIsDefault(Boolean isDefault)

Set the isDefault property: True if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable.

Parameters:

isDefault - the isDefault value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withIsInitial

public MicrosoftGraphDomainInner withIsInitial(Boolean isInitial)

Set the isInitial property: True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com). There is only one initial domain per company. Not nullable.

Parameters:

isInitial - the isInitial value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withIsRoot

public MicrosoftGraphDomainInner withIsRoot(Boolean isRoot)

Set the isRoot property: True if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable.

Parameters:

isRoot - the isRoot value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withIsVerified

public MicrosoftGraphDomainInner withIsVerified(Boolean isVerified)

Set the isVerified property: True if the domain has completed domain ownership verification. Not nullable.

Parameters:

isVerified - the isVerified value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withManufacturer

public MicrosoftGraphDomainInner withManufacturer(String manufacturer)

Set the manufacturer property: The manufacturer property.

Parameters:

manufacturer - the manufacturer value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withModel

public MicrosoftGraphDomainInner withModel(String model)

Set the model property: The model property.

Parameters:

model - the model value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withPasswordNotificationWindowInDays

public MicrosoftGraphDomainInner withPasswordNotificationWindowInDays(Integer passwordNotificationWindowInDays)

Set the passwordNotificationWindowInDays property: Specifies the number of days before a user receives notification that their password will expire. If the property is not set, a default value of 14 days will be used.

Parameters:

passwordNotificationWindowInDays - the passwordNotificationWindowInDays value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withPasswordValidityPeriodInDays

public MicrosoftGraphDomainInner withPasswordValidityPeriodInDays(Integer passwordValidityPeriodInDays)

Set the passwordValidityPeriodInDays property: Specifies the length of time that a password is valid before it must be changed. If the property is not set, a default value of 90 days will be used.

Parameters:

passwordValidityPeriodInDays - the passwordValidityPeriodInDays value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withServiceConfigurationRecords

public MicrosoftGraphDomainInner withServiceConfigurationRecords(List serviceConfigurationRecords)

Set the serviceConfigurationRecords property: DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services.Read-only, Nullable.

Parameters:

serviceConfigurationRecords - the serviceConfigurationRecords value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withState

public MicrosoftGraphDomainInner withState(MicrosoftGraphDomainState state)

Set the state property: domainState.

Parameters:

state - the state value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withSupportedServices

public MicrosoftGraphDomainInner withSupportedServices(List supportedServices)

Set the supportedServices property: The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable.

Parameters:

supportedServices - the supportedServices value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

withVerificationDnsRecords

public MicrosoftGraphDomainInner withVerificationDnsRecords(List verificationDnsRecords)

Set the verificationDnsRecords property: DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD.Read-only, Nullable.

Parameters:

verificationDnsRecords - the verificationDnsRecords value to set.

Returns:

the MicrosoftGraphDomainInner object itself.

Applies to