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

com.aliyun.eas20210701.models.UpdateResourceRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class UpdateResourceRequest extends TeaModel {
    /**
     * 

The new name of the resource group after the update. The name can be up to 27 characters in length.

* * example: *

iot

*/ @NameInMap("ResourceName") public String resourceName; /** *

The configuration items of the self-managed resource group.

*/ @NameInMap("SelfManagedResourceOptions") public UpdateResourceRequestSelfManagedResourceOptions selfManagedResourceOptions; public static UpdateResourceRequest build(java.util.Map map) throws Exception { UpdateResourceRequest self = new UpdateResourceRequest(); return TeaModel.build(map, self); } public UpdateResourceRequest setResourceName(String resourceName) { this.resourceName = resourceName; return this; } public String getResourceName() { return this.resourceName; } public UpdateResourceRequest setSelfManagedResourceOptions(UpdateResourceRequestSelfManagedResourceOptions selfManagedResourceOptions) { this.selfManagedResourceOptions = selfManagedResourceOptions; return this; } public UpdateResourceRequestSelfManagedResourceOptions getSelfManagedResourceOptions() { return this.selfManagedResourceOptions; } public static class UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations extends TeaModel { /** *

The effect. * Valid values:

*
    *
  • PreferNoSchedule
  • *
  • NoSchedule
  • *
  • NoExecute
  • *
* * example: *

NoSchedule

*/ @NameInMap("effect") public String effect; /** *

The key name.

* * example: *

key1

*/ @NameInMap("key") public String key; /** *

Relationship between key names and key values. * Valid values:

*
    *
  • Equal
  • *
  • Exists
  • *
* * example: *

Equal

*/ @NameInMap("operator") public String operator; /** *

The key value.

* * example: *

value1

*/ @NameInMap("value") public String value; public static UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations build(java.util.Map map) throws Exception { UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations self = new UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations(); return TeaModel.build(map, self); } public UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations setEffect(String effect) { this.effect = effect; return this; } public String getEffect() { return this.effect; } public UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations setKey(String key) { this.key = key; return this; } public String getKey() { return this.key; } public UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations setOperator(String operator) { this.operator = operator; return this; } public String getOperator() { return this.operator; } public UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } } public static class UpdateResourceRequestSelfManagedResourceOptions extends TeaModel { /** *

Tag tag key-value pairs for nodes.

*/ @NameInMap("NodeMatchLabels") public java.util.Map nodeMatchLabels; /** *

Tolerations for nodes.

*/ @NameInMap("NodeTolerations") public java.util.List nodeTolerations; public static UpdateResourceRequestSelfManagedResourceOptions build(java.util.Map map) throws Exception { UpdateResourceRequestSelfManagedResourceOptions self = new UpdateResourceRequestSelfManagedResourceOptions(); return TeaModel.build(map, self); } public UpdateResourceRequestSelfManagedResourceOptions setNodeMatchLabels(java.util.Map nodeMatchLabels) { this.nodeMatchLabels = nodeMatchLabels; return this; } public java.util.Map getNodeMatchLabels() { return this.nodeMatchLabels; } public UpdateResourceRequestSelfManagedResourceOptions setNodeTolerations(java.util.List nodeTolerations) { this.nodeTolerations = nodeTolerations; return this; } public java.util.List getNodeTolerations() { return this.nodeTolerations; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy