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

com.aliyun.ess20220222.models.SetInstanceHealthRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class SetInstanceHealthRequest extends TeaModel {
    /**
     * 

The health status of the instance. Valid values:

*
    *
  • Healthy: sets the instance as healthy.
  • *
  • Unhealthy: sets the instance as unhealthy.
  • *
*

This parameter is required.

* * example: *

Healthy

*/ @NameInMap("HealthStatus") public String healthStatus; /** *

The ID of the instance.

*

This parameter is required.

* * example: *

i-bp1ap6bro51a7fsa****

*/ @NameInMap("InstanceId") public String instanceId; @NameInMap("OwnerId") public Long ownerId; @NameInMap("ResourceOwnerAccount") public String resourceOwnerAccount; public static SetInstanceHealthRequest build(java.util.Map map) throws Exception { SetInstanceHealthRequest self = new SetInstanceHealthRequest(); return TeaModel.build(map, self); } public SetInstanceHealthRequest setHealthStatus(String healthStatus) { this.healthStatus = healthStatus; return this; } public String getHealthStatus() { return this.healthStatus; } public SetInstanceHealthRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public SetInstanceHealthRequest setOwnerId(Long ownerId) { this.ownerId = ownerId; return this; } public Long getOwnerId() { return this.ownerId; } public SetInstanceHealthRequest setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; return this; } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy