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

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

MigrateClusterRequest

*/ public class MigrateClusterRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("cluster_id") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("oss_bucket_endpoint") private String ossBucketEndpoint; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("oss_bucket_name") private String ossBucketName; private MigrateClusterRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.ossBucketEndpoint = builder.ossBucketEndpoint; this.ossBucketName = builder.ossBucketName; } public static Builder builder() { return new Builder(); } public static MigrateClusterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return ossBucketEndpoint */ public String getOssBucketEndpoint() { return this.ossBucketEndpoint; } /** * @return ossBucketName */ public String getOssBucketName() { return this.ossBucketName; } public static final class Builder extends Request.Builder { private String clusterId; private String ossBucketEndpoint; private String ossBucketName; private Builder() { super(); } private Builder(MigrateClusterRequest request) { super(request); this.clusterId = request.clusterId; this.ossBucketEndpoint = request.ossBucketEndpoint; this.ossBucketName = request.ossBucketName; } /** * The cluster ID. */ public Builder clusterId(String clusterId) { this.putPathParameter("cluster_id", clusterId); this.clusterId = clusterId; return this; } /** * The endpoint of the OSS bucket. */ public Builder ossBucketEndpoint(String ossBucketEndpoint) { this.putBodyParameter("oss_bucket_endpoint", ossBucketEndpoint); this.ossBucketEndpoint = ossBucketEndpoint; return this; } /** * The name of the Object Storage Service (OSS) bucket. */ public Builder ossBucketName(String ossBucketName) { this.putBodyParameter("oss_bucket_name", ossBucketName); this.ossBucketName = ossBucketName; return this; } @Override public MigrateClusterRequest build() { return new MigrateClusterRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy