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

com.aliyun.sas20181203.models.SetClusterInterceptionConfigRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;

import com.aliyun.tea.*;

public class SetClusterInterceptionConfigRequest extends TeaModel {
    /**
     * 

The ID of the cluster. Separate multiple cluster IDs with commas (,).

*
*

You can call the ListClusterInterceptionConfig operation to query the IDs of clusters.

*
*

This parameter is required.

* * example: *

c60b77fe62093480db6164a3c2fa****

*/ @NameInMap("ClusterIds") public String clusterIds; /** *

Specifies whether to turn on the switch. Valid values:

*
    *
  • 1: yes
  • *
  • 0: no
  • *
*

This parameter is required.

* * example: *

1

*/ @NameInMap("SwitchOn") public Integer switchOn; /** *

The type of the switch that you want to configure. Valid values:

*
    *
  • 0: the interception switch
  • *
  • 1: the interception type switch
  • *
  • 2: the interception history switch
  • *
*

This parameter is required.

* * example: *

0

*/ @NameInMap("SwitchType") public Integer switchType; public static SetClusterInterceptionConfigRequest build(java.util.Map map) throws Exception { SetClusterInterceptionConfigRequest self = new SetClusterInterceptionConfigRequest(); return TeaModel.build(map, self); } public SetClusterInterceptionConfigRequest setClusterIds(String clusterIds) { this.clusterIds = clusterIds; return this; } public String getClusterIds() { return this.clusterIds; } public SetClusterInterceptionConfigRequest setSwitchOn(Integer switchOn) { this.switchOn = switchOn; return this; } public Integer getSwitchOn() { return this.switchOn; } public SetClusterInterceptionConfigRequest setSwitchType(Integer switchType) { this.switchType = switchType; return this; } public Integer getSwitchType() { return this.switchType; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy