com.aliyun.sdk.service.dm20170622.models.ModifyPWByDomainRequest 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 ModifyPWByDomainRequest} extends {@link RequestModel}
*
* ModifyPWByDomainRequest
*/
public class ModifyPWByDomainRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DomainName")
@com.aliyun.core.annotation.Validation(required = true)
private String domainName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Password")
@com.aliyun.core.annotation.Validation(required = true)
private String password;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private String resourceOwnerId;
private ModifyPWByDomainRequest(Builder builder) {
super(builder);
this.domainName = builder.domainName;
this.password = builder.password;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static ModifyPWByDomainRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return domainName
*/
public String getDomainName() {
return this.domainName;
}
/**
* @return password
*/
public String getPassword() {
return this.password;
}
/**
* @return resourceOwnerId
*/
public String getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder {
private String domainName;
private String password;
private String resourceOwnerId;
private Builder() {
super();
}
private Builder(ModifyPWByDomainRequest request) {
super(request);
this.domainName = request.domainName;
this.password = request.password;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* DomainName.
*/
public Builder domainName(String domainName) {
this.putQueryParameter("DomainName", domainName);
this.domainName = domainName;
return this;
}
/**
* Password.
*/
public Builder password(String password) {
this.putQueryParameter("Password", password);
this.password = password;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(String resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public ModifyPWByDomainRequest build() {
return new ModifyPWByDomainRequest(this);
}
}
}