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

com.aliyun.sdk.service.cs20151215.models.GetClusterAddonInstanceRequest 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 GetClusterAddonInstanceRequest} extends {@link RequestModel}
 *
 * 

GetClusterAddonInstanceRequest

*/ public class GetClusterAddonInstanceRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("cluster_id") private String clusterId; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("instance_name") private String instanceName; private GetClusterAddonInstanceRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.instanceName = builder.instanceName; } public static Builder builder() { return new Builder(); } public static GetClusterAddonInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } public static final class Builder extends Request.Builder { private String clusterId; private String instanceName; private Builder() { super(); } private Builder(GetClusterAddonInstanceRequest request) { super(request); this.clusterId = request.clusterId; this.instanceName = request.instanceName; } /** * The ID of the cluster. */ public Builder clusterId(String clusterId) { this.putPathParameter("cluster_id", clusterId); this.clusterId = clusterId; return this; } /** * The name of the component instance. */ public Builder instanceName(String instanceName) { this.putPathParameter("instance_name", instanceName); this.instanceName = instanceName; return this; } @Override public GetClusterAddonInstanceRequest build() { return new GetClusterAddonInstanceRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy