Class DeviceManagementExchangeConnector

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceManagementExchangeConnector
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class DeviceManagementExchangeConnector extends Entity implements com.microsoft.kiota.serialization.Parsable
Entity which represents a connection to an Exchange environment.
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static DeviceManagementExchangeConnector createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a DeviceManagementExchangeConnector
    • getConnectorServerName

      @Nullable public String getConnectorServerName()
      Gets the connectorServerName property value. The name of the server hosting the Exchange Connector.
      Returns:
      a String
    • getExchangeAlias

      @Nullable public String getExchangeAlias()
      Gets the exchangeAlias property value. An alias assigned to the Exchange server
      Returns:
      a String
    • getExchangeConnectorType

      @Nullable public DeviceManagementExchangeConnectorType getExchangeConnectorType()
      Gets the exchangeConnectorType property value. The type of Exchange Connector.
      Returns:
      a DeviceManagementExchangeConnectorType
    • getExchangeOrganization

      @Nullable public String getExchangeOrganization()
      Gets the exchangeOrganization property value. Exchange Organization to the Exchange server
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastSyncDateTime

      @Nullable public OffsetDateTime getLastSyncDateTime()
      Gets the lastSyncDateTime property value. Last sync time for the Exchange Connector
      Returns:
      a OffsetDateTime
    • getPrimarySmtpAddress

      @Nullable public String getPrimarySmtpAddress()
      Gets the primarySmtpAddress property value. Email address used to configure the Service To Service Exchange Connector.
      Returns:
      a String
    • getServerName

      @Nullable public String getServerName()
      Gets the serverName property value. The name of the Exchange server.
      Returns:
      a String
    • getStatus

      @Nullable public DeviceManagementExchangeConnectorStatus getStatus()
      Gets the status property value. The current status of the Exchange Connector.
      Returns:
      a DeviceManagementExchangeConnectorStatus
    • getVersion

      @Nullable public String getVersion()
      Gets the version property value. The version of the ExchangeConnectorAgent
      Returns:
      a String
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setConnectorServerName

      public void setConnectorServerName(@Nullable String value)
      Sets the connectorServerName property value. The name of the server hosting the Exchange Connector.
      Parameters:
      value - Value to set for the connectorServerName property.
    • setExchangeAlias

      public void setExchangeAlias(@Nullable String value)
      Sets the exchangeAlias property value. An alias assigned to the Exchange server
      Parameters:
      value - Value to set for the exchangeAlias property.
    • setExchangeConnectorType

      public void setExchangeConnectorType(@Nullable DeviceManagementExchangeConnectorType value)
      Sets the exchangeConnectorType property value. The type of Exchange Connector.
      Parameters:
      value - Value to set for the exchangeConnectorType property.
    • setExchangeOrganization

      public void setExchangeOrganization(@Nullable String value)
      Sets the exchangeOrganization property value. Exchange Organization to the Exchange server
      Parameters:
      value - Value to set for the exchangeOrganization property.
    • setLastSyncDateTime

      public void setLastSyncDateTime(@Nullable OffsetDateTime value)
      Sets the lastSyncDateTime property value. Last sync time for the Exchange Connector
      Parameters:
      value - Value to set for the lastSyncDateTime property.
    • setPrimarySmtpAddress

      public void setPrimarySmtpAddress(@Nullable String value)
      Sets the primarySmtpAddress property value. Email address used to configure the Service To Service Exchange Connector.
      Parameters:
      value - Value to set for the primarySmtpAddress property.
    • setServerName

      public void setServerName(@Nullable String value)
      Sets the serverName property value. The name of the Exchange server.
      Parameters:
      value - Value to set for the serverName property.
    • setStatus

      public void setStatus(@Nullable DeviceManagementExchangeConnectorStatus value)
      Sets the status property value. The current status of the Exchange Connector.
      Parameters:
      value - Value to set for the status property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. The version of the ExchangeConnectorAgent
      Parameters:
      value - Value to set for the version property.