Class UpdateDomainProperties


  • public final class UpdateDomainProperties
    extends Object
    A class that describes the updatable properties of a Domains resource.
    • Constructor Detail

      • UpdateDomainProperties

        public UpdateDomainProperties()
    • Method Detail

      • validSenderUsernames

        public Map<String,​String> validSenderUsernames()
        Get the validSenderUsernames property: Collection of valid sender usernames. This is a key-value pair where key=username and value=display name.
        Returns:
        the validSenderUsernames value.
      • withValidSenderUsernames

        public UpdateDomainProperties withValidSenderUsernames​(Map<String,​String> validSenderUsernames)
        Set the validSenderUsernames property: Collection of valid sender usernames. This is a key-value pair where key=username and value=display name.
        Parameters:
        validSenderUsernames - the validSenderUsernames value to set.
        Returns:
        the UpdateDomainProperties object itself.
      • userEngagementTracking

        public UserEngagementTracking userEngagementTracking()
        Get the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.
        Returns:
        the userEngagementTracking value.
      • withUserEngagementTracking

        public UpdateDomainProperties withUserEngagementTracking​(UserEngagementTracking userEngagementTracking)
        Set the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.
        Parameters:
        userEngagementTracking - the userEngagementTracking value to set.
        Returns:
        the UpdateDomainProperties object itself.
      • validate

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