com.aliyun.sdk.service.edas20170801.models.GetK8sApplicationRequest 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 GetK8sApplicationRequest} extends {@link RequestModel}
*
* GetK8sApplicationRequest
*/
public class GetK8sApplicationRequest extends Request {
@Query
@NameInMap("AppId")
@Validation(required = true)
private String appId;
@Query
@NameInMap("From")
private String from;
private GetK8sApplicationRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.from = builder.from;
}
public static Builder builder() {
return new Builder();
}
public static GetK8sApplicationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return from
*/
public String getFrom() {
return this.from;
}
public static final class Builder extends Request.Builder {
private String appId;
private String from;
private Builder() {
super();
}
private Builder(GetK8sApplicationRequest request) {
super(request);
this.appId = request.appId;
this.from = request.from;
}
/**
* The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* The source from which data is queried.
*
*
* * If you leave this parameter empty, a common query is performed.
* * If you set the value to deploy, you query application information from the deployment page.
*/
public Builder from(String from) {
this.putQueryParameter("From", from);
this.from = from;
return this;
}
@Override
public GetK8sApplicationRequest build() {
return new GetK8sApplicationRequest(this);
}
}
}