com.aliyun.sdk.service.paiautoml20220828.models.GetHpoTrialRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-paiautoml20220828 Show documentation
Show all versions of alibabacloud-paiautoml20220828 Show documentation
Alibaba Cloud paiAutoML (20220828) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.paiautoml20220828.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetHpoTrialRequest} extends {@link RequestModel}
*
* GetHpoTrialRequest
*/
public class GetHpoTrialRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("ExperimentId")
@com.aliyun.core.annotation.Validation(required = true)
private String experimentId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("TrialId")
@com.aliyun.core.annotation.Validation(required = true)
private String trialId;
private GetHpoTrialRequest(Builder builder) {
super(builder);
this.experimentId = builder.experimentId;
this.trialId = builder.trialId;
}
public static Builder builder() {
return new Builder();
}
public static GetHpoTrialRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return experimentId
*/
public String getExperimentId() {
return this.experimentId;
}
/**
* @return trialId
*/
public String getTrialId() {
return this.trialId;
}
public static final class Builder extends Request.Builder {
private String experimentId;
private String trialId;
private Builder() {
super();
}
private Builder(GetHpoTrialRequest request) {
super(request);
this.experimentId = request.experimentId;
this.trialId = request.trialId;
}
/**
* Experimetn ID
*/
public Builder experimentId(String experimentId) {
this.putPathParameter("ExperimentId", experimentId);
this.experimentId = experimentId;
return this;
}
/**
* trial id
*/
public Builder trialId(String trialId) {
this.putPathParameter("TrialId", trialId);
this.trialId = trialId;
return this;
}
@Override
public GetHpoTrialRequest build() {
return new GetHpoTrialRequest(this);
}
}
}