![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.sdk.service.edas20170801.models.DeleteK8sIngressRuleRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-edas20170801 Show documentation
Show all versions of alibabacloud-edas20170801 Show documentation
Alibaba Cloud Edas (20170801) Async SDK for Java
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 DeleteK8sIngressRuleRequest} extends {@link RequestModel}
*
* DeleteK8sIngressRuleRequest
*/
public class DeleteK8sIngressRuleRequest extends Request {
@Query
@NameInMap("ClusterId")
private String clusterId;
@Query
@NameInMap("Name")
private String name;
@Query
@NameInMap("Namespace")
private String namespace;
private DeleteK8sIngressRuleRequest(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 DeleteK8sIngressRuleRequest 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(DeleteK8sIngressRuleRequest request) {
super(request);
this.clusterId = request.clusterId;
this.name = request.name;
this.namespace = request.namespace;
}
/**
* The ID of the Kubernetes cluster.
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* The name of the Ingress. The name can contain lowercase letters, digits, and hyphens (-). It must start with a lowercase letter but cannot end with a hyphen (-). The name 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 DeleteK8sIngressRuleRequest build() {
return new DeleteK8sIngressRuleRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy