com.aliyun.sdk.service.polardb20170801.models.DeleteDBEndpointAddressRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-polardb20170801 Show documentation
Show all versions of alibabacloud-polardb20170801 Show documentation
Alibaba Cloud polardb (20170801) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteDBEndpointAddressRequest} extends {@link RequestModel}
*
* DeleteDBEndpointAddressRequest
*/
public class DeleteDBEndpointAddressRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBClusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DBEndpointId")
@com.aliyun.core.annotation.Validation(required = true)
private String DBEndpointId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NetType")
@com.aliyun.core.annotation.Validation(required = true)
private String netType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteDBEndpointAddressRequest(Builder builder) {
super(builder);
this.DBClusterId = builder.DBClusterId;
this.DBEndpointId = builder.DBEndpointId;
this.netType = builder.netType;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDBEndpointAddressRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return DBClusterId
*/
public String getDBClusterId() {
return this.DBClusterId;
}
/**
* @return DBEndpointId
*/
public String getDBEndpointId() {
return this.DBEndpointId;
}
/**
* @return netType
*/
public String getNetType() {
return this.netType;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder {
private String DBClusterId;
private String DBEndpointId;
private String netType;
private String ownerAccount;
private Long ownerId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteDBEndpointAddressRequest request) {
super(request);
this.DBClusterId = request.DBClusterId;
this.DBEndpointId = request.DBEndpointId;
this.netType = request.netType;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* The ID of the cluster.
*
* You can call the DescribeDBClusters operation to query the details of all clusters that belong to your account, such as the cluster ID.
*
* This parameter is required.
*
* example:
* pc-************
*/
public Builder DBClusterId(String DBClusterId) {
this.putQueryParameter("DBClusterId", DBClusterId);
this.DBClusterId = DBClusterId;
return this;
}
/**
* The ID of the endpoint.
*
* You can call the DescribeDBClusterEndpoints operation to query the endpoints of a specified PolarDB cluster.
*
* This parameter is required.
*
* example:
* pe-***************
*/
public Builder DBEndpointId(String DBEndpointId) {
this.putQueryParameter("DBEndpointId", DBEndpointId);
this.DBEndpointId = DBEndpointId;
return this;
}
/**
* The network type of the endpoint. Set the value to Public (public network).
* This parameter is required.
*
* example:
* Public
*/
public Builder netType(String netType) {
this.putQueryParameter("NetType", netType);
this.netType = netType;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteDBEndpointAddressRequest build() {
return new DeleteDBEndpointAddressRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy