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

com.aliyun.sdk.service.edas20170801.models.DeleteK8sSecretRequest Maven / Gradle / Ivy

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

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

/**
 * {@link DeleteK8sSecretRequest} extends {@link RequestModel}
 *
 * 

DeleteK8sSecretRequest

*/ public class DeleteK8sSecretRequest extends Request { @Query @NameInMap("ClusterId") @Validation(required = true) private String clusterId; @Query @NameInMap("Name") @Validation(required = true) private String name; @Query @NameInMap("Namespace") @Validation(required = true) private String namespace; private DeleteK8sSecretRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.name = builder.name; this.namespace = builder.namespace; } public static Builder builder() { return new Builder(); } public static DeleteK8sSecretRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return name */ public String getName() { return this.name; } /** * @return namespace */ public String getNamespace() { return this.namespace; } public static final class Builder extends Request.Builder { private String clusterId; private String name; private String namespace; private Builder() { super(); } private Builder(DeleteK8sSecretRequest request) { super(request); this.clusterId = request.clusterId; this.name = request.name; this.namespace = request.namespace; } /** * The ID of the cluster. */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * The name of the Secret. The name must start with a letter, and can contain digits, letters, and hyphens (-). It can be up to 63 characters in length. */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * The namespace of the Kubernetes cluster. */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } @Override public DeleteK8sSecretRequest build() { return new DeleteK8sSecretRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy