All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.edas20170801.models.GetK8sApplicationRequest Maven / Gradle / Ivy

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); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy