Class MicrosoftGraphVerifiedDomain

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphVerifiedDomain

public final class MicrosoftGraphVerifiedDomain extends Object
verifiedDomain.
  • Constructor Details

    • MicrosoftGraphVerifiedDomain

      public MicrosoftGraphVerifiedDomain()
      Creates an instance of MicrosoftGraphVerifiedDomain class.
  • Method Details

    • 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.