com.aliyun.sdk.service.edas20170801.models.GetJvmConfigurationRequest 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 GetJvmConfigurationRequest} extends {@link RequestModel}
*
* GetJvmConfigurationRequest
*/
public class GetJvmConfigurationRequest extends Request {
@Query
@NameInMap("AppId")
@Validation(required = true)
private String appId;
@Query
@NameInMap("GroupId")
private String groupId;
private GetJvmConfigurationRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.groupId = builder.groupId;
}
public static Builder builder() {
return new Builder();
}
public static GetJvmConfigurationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return groupId
*/
public String getGroupId() {
return this.groupId;
}
public static final class Builder extends Request.Builder {
private String appId;
private String groupId;
private Builder() {
super();
}
private Builder(GetJvmConfigurationRequest request) {
super(request);
this.appId = request.appId;
this.groupId = request.groupId;
}
/**
* The ID of the application.
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* The ID of the instance group.
*
*
* * If an ID is specified, this operation queries the JVM configuration information of the instance group.
* * If an ID is not specified, this operation queries the JVM configuration information of the application.
*/
public Builder groupId(String groupId) {
this.putQueryParameter("GroupId", groupId);
this.groupId = groupId;
return this;
}
@Override
public GetJvmConfigurationRequest build() {
return new GetJvmConfigurationRequest(this);
}
}
}