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

com.aliyun.sdk.service.cs20151215.models.ListOperationPlansResponseBody Maven / Gradle / Ivy

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

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

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

ListOperationPlansResponseBody

*/ public class ListOperationPlansResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("plans") private java.util.List < Plans> plans; private ListOperationPlansResponseBody(Builder builder) { this.plans = builder.plans; } public static Builder builder() { return new Builder(); } public static ListOperationPlansResponseBody create() { return builder().build(); } /** * @return plans */ public java.util.List < Plans> getPlans() { return this.plans; } public static final class Builder { private java.util.List < Plans> plans; /** * The operation plans. */ public Builder plans(java.util.List < Plans> plans) { this.plans = plans; return this; } public ListOperationPlansResponseBody build() { return new ListOperationPlansResponseBody(this); } } public static class Plans extends TeaModel { @com.aliyun.core.annotation.NameInMap("cluster_id") private String clusterId; @com.aliyun.core.annotation.NameInMap("created") private String created; @com.aliyun.core.annotation.NameInMap("end_time") private String endTime; @com.aliyun.core.annotation.NameInMap("plan_id") private String planId; @com.aliyun.core.annotation.NameInMap("start_time") private String startTime; @com.aliyun.core.annotation.NameInMap("state") private String state; @com.aliyun.core.annotation.NameInMap("target_id") private String targetId; @com.aliyun.core.annotation.NameInMap("target_type") private String targetType; @com.aliyun.core.annotation.NameInMap("type") private String type; private Plans(Builder builder) { this.clusterId = builder.clusterId; this.created = builder.created; this.endTime = builder.endTime; this.planId = builder.planId; this.startTime = builder.startTime; this.state = builder.state; this.targetId = builder.targetId; this.targetType = builder.targetType; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static Plans create() { return builder().build(); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return created */ public String getCreated() { return this.created; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return planId */ public String getPlanId() { return this.planId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return state */ public String getState() { return this.state; } /** * @return targetId */ public String getTargetId() { return this.targetId; } /** * @return targetType */ public String getTargetType() { return this.targetType; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String clusterId; private String created; private String endTime; private String planId; private String startTime; private String state; private String targetId; private String targetType; private String type; /** * The cluster ID. */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * The time when the operation plan was created. */ public Builder created(String created) { this.created = created; return this; } /** * The expected end time of the plan. */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * The operation plan ID. */ public Builder planId(String planId) { this.planId = planId; return this; } /** * The expected start time of the plan. */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * The plan status. Valid values: *

* * * scheduled * * Canceled */ public Builder state(String state) { this.state = state; return this; } /** * The target ID. */ public Builder targetId(String targetId) { this.targetId = targetId; return this; } /** * The target type. */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } /** * The plan type. Valid values: *

* * * cluster_upgrade */ public Builder type(String type) { this.type = type; return this; } public Plans build() { return new Plans(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy