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

com.aliyun.sdk.service.cloudapi20160714.models.DescribeInstanceHttpCodeRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeInstanceHttpCodeRequest} extends {@link RequestModel}
 *
 * 

DescribeInstanceHttpCodeRequest

*/ public class DescribeInstanceHttpCodeRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") @com.aliyun.core.annotation.Validation(required = true) private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StageName") @com.aliyun.core.annotation.Validation(required = true) private String stageName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; private DescribeInstanceHttpCodeRequest(Builder builder) { super(builder); this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.securityToken = builder.securityToken; this.stageName = builder.stageName; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeInstanceHttpCodeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return stageName */ public String getStageName() { return this.stageName; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder { private String endTime; private String instanceId; private String securityToken; private String stageName; private String startTime; private Builder() { super(); } private Builder(DescribeInstanceHttpCodeRequest request) { super(request); this.endTime = request.endTime; this.instanceId = request.instanceId; this.securityToken = request.securityToken; this.stageName = request.stageName; this.startTime = request.startTime; } /** *

The end time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ

*

This parameter is required.

* * example: *

2022-07-21T06:05:52Z

*/ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** *

The ID of the instance.

*

This parameter is required.

* * example: *

apigateway-cn-m7r227yy2004

*/ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** *

The environment in which the API is requested. Valid values:

*
    *
  • RELEASE: the production environment
  • *
  • PRE: the pre-release environment
  • *
  • TEST: the test environment
  • *
*

This parameter is required.

* * example: *

RELEASE

*/ public Builder stageName(String stageName) { this.putQueryParameter("StageName", stageName); this.stageName = stageName; return this; } /** *

The start time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ

*

This parameter is required.

* * example: *

2022-04-14T02:12:10Z

*/ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeInstanceHttpCodeRequest build() { return new DescribeInstanceHttpCodeRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy