Configuration 类

定义

public class Configuration
继承
java.lang.Object
Configuration

构造函数

Configuration(String configurationId)

Create a Configuration instance using the given configuration name

字段

content

Specifies the configuration content

createdTimeUtc

Datetime of configuration created time.

etag

A string representing a ETAG

id

Configuration name A case-sensitive string (up to 128 char long) of ASCII 7-bit alphanumeric chars + {'-', ':', '.', '+', '', '_', '#', '*', '?', '!', '(', ')', ',', '=', '@', ';', '$', '''}.

labels

Specifies the labels map of the configuration

lastUpdatedTimeUtc

Datetime of configuration last updated time.

metrics

Specifies the custom configuration metrics

priority

Specifies the priority

schemaVersion

Specifies the schemaVersion

systemMetrics

Specifies the system configuration metrics

targetCondition

Specifies the targetCondition

UTC_TIME_DEFAULT

方法

getContent()

Getter for configuration content

getCreatedTimeUtc()

Getter for configuration created time

getEtag()

Getter for eTag

getId()

Getter for configuration name

getLabels()

Getter for labels

getLastUpdatedTimeUtc()

Getter for configuration last updated time string

getMetrics()

Getter for the custom configuration metrics

getPriority()

Getter for the configuration priority

getSchemaVersion()

Getter for schema version

getSystemMetrics()

Getter for the system configuration metrics

getTargetCondition()

Getter for targetCondition

setContent(ConfigurationContent content)

Setter for the configuration content

setEtag(String etag)

Setter for the ETAG

setForceUpdate(Boolean forceUpdate)

Setter for force update boolean

setLabels(HashMap<String, String> labels)

Setter for the labels of the configuration

setMetrics(ConfigurationMetrics metrics)

Set the configuration metrics of this object

setPriority(Integer priority)

Setter for the configuration priority

setTargetCondition(String targetCondition)

Setter for the targetCondition

适用于