All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.arms20190808.models.CreateEnvServiceMonitorRequest Maven / Gradle / Ivy

Go to download

Alibaba Cloud Application Real-Time Monitoring Service (20190808) SDK for Java

There is a newer version: 9.1.1
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;

import com.aliyun.tea.*;

public class CreateEnvServiceMonitorRequest extends TeaModel {
    /**
     * 

The language. Valid values:

*
    *
  • zh (default): Chinese
  • *
  • en: English
  • *
* * example: *

zh

*/ @NameInMap("AliyunLang") public String aliyunLang; /** *

The YAML configuration file of the ServiceMonitor.

*

This parameter is required.

* * example: *

Refer to supplementary instructions.

*/ @NameInMap("ConfigYaml") public String configYaml; /** *

Specifies whether to perform only a dry run, without performing the actual request. The system checks whether the format is valid and whether targets are matched.

* * example: *

true

*/ @NameInMap("DryRun") public Boolean dryRun; /** *

The ID of the environment instance.

*

This parameter is required.

* * example: *

env-xxxxxx

*/ @NameInMap("EnvironmentId") public String environmentId; /** *

The region ID.

*

This parameter is required.

* * example: *

cn-hangzhou

*/ @NameInMap("RegionId") public String regionId; public static CreateEnvServiceMonitorRequest build(java.util.Map map) throws Exception { CreateEnvServiceMonitorRequest self = new CreateEnvServiceMonitorRequest(); return TeaModel.build(map, self); } public CreateEnvServiceMonitorRequest setAliyunLang(String aliyunLang) { this.aliyunLang = aliyunLang; return this; } public String getAliyunLang() { return this.aliyunLang; } public CreateEnvServiceMonitorRequest setConfigYaml(String configYaml) { this.configYaml = configYaml; return this; } public String getConfigYaml() { return this.configYaml; } public CreateEnvServiceMonitorRequest setDryRun(Boolean dryRun) { this.dryRun = dryRun; return this; } public Boolean getDryRun() { return this.dryRun; } public CreateEnvServiceMonitorRequest setEnvironmentId(String environmentId) { this.environmentId = environmentId; return this; } public String getEnvironmentId() { return this.environmentId; } public CreateEnvServiceMonitorRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy