com.aliyun.sdk.service.waf_openapi20190910.models.DescribeInstanceSpecInfoRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-waf_openapi20190910 Show documentation
Show all versions of alibabacloud-waf_openapi20190910 Show documentation
Alibaba Cloud waf-openapi (20190910) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.waf_openapi20190910.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeInstanceSpecInfoRequest} extends {@link RequestModel}
*
* DescribeInstanceSpecInfoRequest
*/
public class DescribeInstanceSpecInfoRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
private DescribeInstanceSpecInfoRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeInstanceSpecInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
public static final class Builder extends Request.Builder {
private String instanceId;
private String regionId;
private String resourceGroupId;
private Builder() {
super();
}
private Builder(DescribeInstanceSpecInfoRequest request) {
super(request);
this.instanceId = request.instanceId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceGroupId.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
@Override
public DescribeInstanceSpecInfoRequest build() {
return new DescribeInstanceSpecInfoRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy