com.aliyun.sdk.service.dm20170622.models.DeleteReceiverDetailRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dm20170622 Show documentation
Show all versions of alibabacloud-dm20170622 Show documentation
Alibaba Cloud Dm (20170622) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dm20170622.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteReceiverDetailRequest} extends {@link RequestModel}
*
* DeleteReceiverDetailRequest
*/
public class DeleteReceiverDetailRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Email")
private String email;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ReceiverId")
@com.aliyun.core.annotation.Validation(required = true)
private String receiverId;
@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 DeleteReceiverDetailRequest(Builder builder) {
super(builder);
this.email = builder.email;
this.ownerId = builder.ownerId;
this.receiverId = builder.receiverId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteReceiverDetailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return email
*/
public String getEmail() {
return this.email;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return receiverId
*/
public String getReceiverId() {
return this.receiverId;
}
/**
* @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 email;
private Long ownerId;
private String receiverId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteReceiverDetailRequest request) {
super(request);
this.email = request.email;
this.ownerId = request.ownerId;
this.receiverId = request.receiverId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* Email.
*/
public Builder email(String email) {
this.putQueryParameter("Email", email);
this.email = email;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ReceiverId.
*/
public Builder receiverId(String receiverId) {
this.putQueryParameter("ReceiverId", receiverId);
this.receiverId = receiverId;
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 DeleteReceiverDetailRequest build() {
return new DeleteReceiverDetailRequest(this);
}
}
}