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

com.aliyun.sdk.service.ecs20140526.models.ListPluginStatusResponseBody Maven / Gradle / Ivy

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

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link ListPluginStatusResponseBody} extends {@link TeaModel}
 *
 * 

ListPluginStatusResponseBody

*/ public class ListPluginStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstancePluginStatusSet") private InstancePluginStatusSet instancePluginStatusSet; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private ListPluginStatusResponseBody(Builder builder) { this.instancePluginStatusSet = builder.instancePluginStatusSet; this.nextToken = builder.nextToken; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static ListPluginStatusResponseBody create() { return builder().build(); } /** * @return instancePluginStatusSet */ public InstancePluginStatusSet getInstancePluginStatusSet() { return this.instancePluginStatusSet; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private InstancePluginStatusSet instancePluginStatusSet; private String nextToken; private Long pageNumber; private Long pageSize; private String requestId; private Long totalCount; /** *

The states of Cloud Assistant plug-ins on the instances.

*/ public Builder instancePluginStatusSet(InstancePluginStatusSet instancePluginStatusSet) { this.instancePluginStatusSet = instancePluginStatusSet; return this; } /** *

A pagination token. It can be used in the next request to retrieve a new page of results.

* * example: *

AAAAAdDWBF2

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** *

The page number.

* * example: *

1

*/ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** *

The number of entries per page.

* * example: *

10

*/ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** *

The request ID.

* * example: *

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The total number of entries returned.

* * example: *

1

*/ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public ListPluginStatusResponseBody build() { return new ListPluginStatusResponseBody(this); } } /** * * {@link ListPluginStatusResponseBody} extends {@link TeaModel} * *

ListPluginStatusResponseBody

*/ public static class PluginStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("FirstHeartbeatTime") private String firstHeartbeatTime; @com.aliyun.core.annotation.NameInMap("LastHeartbeatTime") private String lastHeartbeatTime; @com.aliyun.core.annotation.NameInMap("PluginName") private String pluginName; @com.aliyun.core.annotation.NameInMap("PluginStatus") private String pluginStatus; @com.aliyun.core.annotation.NameInMap("PluginVersion") private String pluginVersion; private PluginStatus(Builder builder) { this.firstHeartbeatTime = builder.firstHeartbeatTime; this.lastHeartbeatTime = builder.lastHeartbeatTime; this.pluginName = builder.pluginName; this.pluginStatus = builder.pluginStatus; this.pluginVersion = builder.pluginVersion; } public static Builder builder() { return new Builder(); } public static PluginStatus create() { return builder().build(); } /** * @return firstHeartbeatTime */ public String getFirstHeartbeatTime() { return this.firstHeartbeatTime; } /** * @return lastHeartbeatTime */ public String getLastHeartbeatTime() { return this.lastHeartbeatTime; } /** * @return pluginName */ public String getPluginName() { return this.pluginName; } /** * @return pluginStatus */ public String getPluginStatus() { return this.pluginStatus; } /** * @return pluginVersion */ public String getPluginVersion() { return this.pluginVersion; } public static final class Builder { private String firstHeartbeatTime; private String lastHeartbeatTime; private String pluginName; private String pluginStatus; private String pluginVersion; /** *

The first time when Cloud Assistant reported the state of the plug-in.

* * example: *

2020-01-19T09:15:46Z

*/ public Builder firstHeartbeatTime(String firstHeartbeatTime) { this.firstHeartbeatTime = firstHeartbeatTime; return this; } /** *

The last time when Cloud Assistant reported the state of the plug-in.

* * example: *

2020-01-19T09:15:46Z

*/ public Builder lastHeartbeatTime(String lastHeartbeatTime) { this.lastHeartbeatTime = lastHeartbeatTime; return this; } /** *

The name of the plug-in.

* * example: *

testName

*/ public Builder pluginName(String pluginName) { this.pluginName = pluginName; return this; } /** *

The state of the Cloud Assistant plug-in. Valid values:

*
    *
  • NotInstalled: The plug-in is not installed.
  • *
  • Installed: The one-time plug-in is installed.
  • *
  • Running: The long-running plug-in is running.
  • *
  • Stopped: The long-running plug-in is not running.
  • *
  • Crashed: The plug-in is abnormal.
  • *
  • Removed: The plug-in is uninstalled.
  • *
  • Unknown: The state of the plug-in is unknown.
  • *
* * example: *

Running

*/ public Builder pluginStatus(String pluginStatus) { this.pluginStatus = pluginStatus; return this; } /** *

The version of the plug-in.

* * example: *

1.1

*/ public Builder pluginVersion(String pluginVersion) { this.pluginVersion = pluginVersion; return this; } public PluginStatus build() { return new PluginStatus(this); } } } /** * * {@link ListPluginStatusResponseBody} extends {@link TeaModel} * *

ListPluginStatusResponseBody

*/ public static class PluginStatusSet extends TeaModel { @com.aliyun.core.annotation.NameInMap("PluginStatus") private java.util.List < PluginStatus> pluginStatus; private PluginStatusSet(Builder builder) { this.pluginStatus = builder.pluginStatus; } public static Builder builder() { return new Builder(); } public static PluginStatusSet create() { return builder().build(); } /** * @return pluginStatus */ public java.util.List < PluginStatus> getPluginStatus() { return this.pluginStatus; } public static final class Builder { private java.util.List < PluginStatus> pluginStatus; /** *

The state of the Cloud Assistant plug-in. Valid values:

*
    *
  • NotInstalled: The plug-in is not installed.
  • *
  • Installed: The one-time plug-in is installed.
  • *
  • Running: The long-running plug-in is running.
  • *
  • Stopped: The long-running plug-in is not running.
  • *
  • Crashed: The plug-in is abnormal.
  • *
  • Removed: The plug-in is uninstalled.
  • *
  • Unknown: The state of the plug-in is unknown.
  • *
* * example: *

Running

*/ public Builder pluginStatus(java.util.List < PluginStatus> pluginStatus) { this.pluginStatus = pluginStatus; return this; } public PluginStatusSet build() { return new PluginStatusSet(this); } } } /** * * {@link ListPluginStatusResponseBody} extends {@link TeaModel} * *

ListPluginStatusResponseBody

*/ public static class InstancePluginStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("PluginStatusSet") private PluginStatusSet pluginStatusSet; private InstancePluginStatus(Builder builder) { this.instanceId = builder.instanceId; this.pluginStatusSet = builder.pluginStatusSet; } public static Builder builder() { return new Builder(); } public static InstancePluginStatus create() { return builder().build(); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return pluginStatusSet */ public PluginStatusSet getPluginStatusSet() { return this.pluginStatusSet; } public static final class Builder { private String instanceId; private PluginStatusSet pluginStatusSet; /** *

The ID of the instance.

* * example: *

i-xxxxx

*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** *

The queried Cloud Assistant plug-ins.

*/ public Builder pluginStatusSet(PluginStatusSet pluginStatusSet) { this.pluginStatusSet = pluginStatusSet; return this; } public InstancePluginStatus build() { return new InstancePluginStatus(this); } } } /** * * {@link ListPluginStatusResponseBody} extends {@link TeaModel} * *

ListPluginStatusResponseBody

*/ public static class InstancePluginStatusSet extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstancePluginStatus") private java.util.List < InstancePluginStatus> instancePluginStatus; private InstancePluginStatusSet(Builder builder) { this.instancePluginStatus = builder.instancePluginStatus; } public static Builder builder() { return new Builder(); } public static InstancePluginStatusSet create() { return builder().build(); } /** * @return instancePluginStatus */ public java.util.List < InstancePluginStatus> getInstancePluginStatus() { return this.instancePluginStatus; } public static final class Builder { private java.util.List < InstancePluginStatus> instancePluginStatus; /** * InstancePluginStatus. */ public Builder instancePluginStatus(java.util.List < InstancePluginStatus> instancePluginStatus) { this.instancePluginStatus = instancePluginStatus; return this; } public InstancePluginStatusSet build() { return new InstancePluginStatusSet(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy