Class MicrosoftGraphAutomaticRepliesSetting

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

public final class MicrosoftGraphAutomaticRepliesSetting extends Object
automaticRepliesSetting.
  • Constructor Details

    • MicrosoftGraphAutomaticRepliesSetting

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

    • externalAudience

      public MicrosoftGraphExternalAudienceScope externalAudience()
      Get the externalAudience property: externalAudienceScope.
      Returns:
      the externalAudience value.
    • withExternalAudience

      public MicrosoftGraphAutomaticRepliesSetting withExternalAudience(MicrosoftGraphExternalAudienceScope externalAudience)
      Set the externalAudience property: externalAudienceScope.
      Parameters:
      externalAudience - the externalAudience value to set.
      Returns:
      the MicrosoftGraphAutomaticRepliesSetting object itself.
    • externalReplyMessage

      public String externalReplyMessage()
      Get the externalReplyMessage property: The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled.
      Returns:
      the externalReplyMessage value.
    • withExternalReplyMessage

      public MicrosoftGraphAutomaticRepliesSetting withExternalReplyMessage(String externalReplyMessage)
      Set the externalReplyMessage property: The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled.
      Parameters:
      externalReplyMessage - the externalReplyMessage value to set.
      Returns:
      the MicrosoftGraphAutomaticRepliesSetting object itself.
    • internalReplyMessage

      public String internalReplyMessage()
      Get the internalReplyMessage property: The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled.
      Returns:
      the internalReplyMessage value.
    • withInternalReplyMessage

      public MicrosoftGraphAutomaticRepliesSetting withInternalReplyMessage(String internalReplyMessage)
      Set the internalReplyMessage property: The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled.
      Parameters:
      internalReplyMessage - the internalReplyMessage value to set.
      Returns:
      the MicrosoftGraphAutomaticRepliesSetting object itself.
    • scheduledEndDateTime

      public MicrosoftGraphDateTimeZone scheduledEndDateTime()
      Get the scheduledEndDateTime property: dateTimeTimeZone.
      Returns:
      the scheduledEndDateTime value.
    • withScheduledEndDateTime

      public MicrosoftGraphAutomaticRepliesSetting withScheduledEndDateTime(MicrosoftGraphDateTimeZone scheduledEndDateTime)
      Set the scheduledEndDateTime property: dateTimeTimeZone.
      Parameters:
      scheduledEndDateTime - the scheduledEndDateTime value to set.
      Returns:
      the MicrosoftGraphAutomaticRepliesSetting object itself.
    • scheduledStartDateTime

      public MicrosoftGraphDateTimeZone scheduledStartDateTime()
      Get the scheduledStartDateTime property: dateTimeTimeZone.
      Returns:
      the scheduledStartDateTime value.
    • withScheduledStartDateTime

      public MicrosoftGraphAutomaticRepliesSetting withScheduledStartDateTime(MicrosoftGraphDateTimeZone scheduledStartDateTime)
      Set the scheduledStartDateTime property: dateTimeTimeZone.
      Parameters:
      scheduledStartDateTime - the scheduledStartDateTime value to set.
      Returns:
      the MicrosoftGraphAutomaticRepliesSetting object itself.
    • status

      Get the status property: automaticRepliesStatus.
      Returns:
      the status value.
    • withStatus

      Set the status property: automaticRepliesStatus.
      Parameters:
      status - the status value to set.
      Returns:
      the MicrosoftGraphAutomaticRepliesSetting object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: automaticRepliesSetting.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphAutomaticRepliesSetting withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: automaticRepliesSetting.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphAutomaticRepliesSetting object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.