Class CreateTopicRequest

    • Constructor Detail

      • CreateTopicRequest

        public CreateTopicRequest()
      • CreateTopicRequest

        public CreateTopicRequest​(CreateTopicRequest source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getTopicName

        public String getTopicName()
        Get 日志主题的名称。
        Returns:
        TopicName 日志主题的名称。
      • setTopicName

        public void setTopicName​(String TopicName)
        Set 日志主题的名称。
        Parameters:
        TopicName - 日志主题的名称。
      • getPartitionCount

        public Long getPartitionCount()
        Get 主题分区Partition的数量,不传参默认创建1个,最大创建允许10个,分裂/合并操作会改变分区数量,整体上限50个。
        Returns:
        PartitionCount 主题分区Partition的数量,不传参默认创建1个,最大创建允许10个,分裂/合并操作会改变分区数量,整体上限50个。
      • setPartitionCount

        public void setPartitionCount​(Long PartitionCount)
        Set 主题分区Partition的数量,不传参默认创建1个,最大创建允许10个,分裂/合并操作会改变分区数量,整体上限50个。
        Parameters:
        PartitionCount - 主题分区Partition的数量,不传参默认创建1个,最大创建允许10个,分裂/合并操作会改变分区数量,整体上限50个。
      • getTopicType

        public String getTopicType()
        Get 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
        Returns:
        TopicType 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
      • setTopicType

        public void setTopicType​(String TopicType)
        Set 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
        Parameters:
        TopicType - 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
      • getPeriod

        public Long getPeriod()
        Get 日志集的保存周期,单位:天,默认30天。
        Returns:
        Period 日志集的保存周期,单位:天,默认30天。
      • setPeriod

        public void setPeriod​(Long Period)
        Set 日志集的保存周期,单位:天,默认30天。
        Parameters:
        Period - 日志集的保存周期,单位:天,默认30天。
      • getStorageType

        public String getStorageType()
        Get 日志主题的存储类型,可选值 HOT(标准存储),COLD(低频存储);默认为HOT。
        Returns:
        StorageType 日志主题的存储类型,可选值 HOT(标准存储),COLD(低频存储);默认为HOT。
      • setStorageType

        public void setStorageType​(String StorageType)
        Set 日志主题的存储类型,可选值 HOT(标准存储),COLD(低频存储);默认为HOT。
        Parameters:
        StorageType - 日志主题的存储类型,可选值 HOT(标准存储),COLD(低频存储);默认为HOT。