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

com.aliyun.sdk.service.cloudapi20160714.models.ModifyInstanceAttributeRequest 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 ModifyInstanceAttributeRequest} extends {@link RequestModel}
 *
 * 

ModifyInstanceAttributeRequest

*/ public class ModifyInstanceAttributeRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeleteVpcIpBlock") private String deleteVpcIpBlock; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EgressIpv6Enable") private String egressIpv6Enable; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("HttpsPolicy") private String httpsPolicy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IPV6Enabled") private String IPV6Enabled; @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("InstanceName") private String instanceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IntranetSegments") private String intranetSegments; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaintainEndTime") private String maintainEndTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaintainStartTime") private String maintainStartTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ToConnectVpcIpBlock") private ToConnectVpcIpBlock toConnectVpcIpBlock; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Token") private String token; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcSlbIntranetEnable") private String vpcSlbIntranetEnable; private ModifyInstanceAttributeRequest(Builder builder) { super(builder); this.deleteVpcIpBlock = builder.deleteVpcIpBlock; this.egressIpv6Enable = builder.egressIpv6Enable; this.httpsPolicy = builder.httpsPolicy; this.IPV6Enabled = builder.IPV6Enabled; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.intranetSegments = builder.intranetSegments; this.maintainEndTime = builder.maintainEndTime; this.maintainStartTime = builder.maintainStartTime; this.toConnectVpcIpBlock = builder.toConnectVpcIpBlock; this.token = builder.token; this.vpcSlbIntranetEnable = builder.vpcSlbIntranetEnable; } public static Builder builder() { return new Builder(); } public static ModifyInstanceAttributeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return deleteVpcIpBlock */ public String getDeleteVpcIpBlock() { return this.deleteVpcIpBlock; } /** * @return egressIpv6Enable */ public String getEgressIpv6Enable() { return this.egressIpv6Enable; } /** * @return httpsPolicy */ public String getHttpsPolicy() { return this.httpsPolicy; } /** * @return IPV6Enabled */ public String getIPV6Enabled() { return this.IPV6Enabled; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return intranetSegments */ public String getIntranetSegments() { return this.intranetSegments; } /** * @return maintainEndTime */ public String getMaintainEndTime() { return this.maintainEndTime; } /** * @return maintainStartTime */ public String getMaintainStartTime() { return this.maintainStartTime; } /** * @return toConnectVpcIpBlock */ public ToConnectVpcIpBlock getToConnectVpcIpBlock() { return this.toConnectVpcIpBlock; } /** * @return token */ public String getToken() { return this.token; } /** * @return vpcSlbIntranetEnable */ public String getVpcSlbIntranetEnable() { return this.vpcSlbIntranetEnable; } public static final class Builder extends Request.Builder { private String deleteVpcIpBlock; private String egressIpv6Enable; private String httpsPolicy; private String IPV6Enabled; private String instanceId; private String instanceName; private String intranetSegments; private String maintainEndTime; private String maintainStartTime; private ToConnectVpcIpBlock toConnectVpcIpBlock; private String token; private String vpcSlbIntranetEnable; private Builder() { super(); } private Builder(ModifyInstanceAttributeRequest request) { super(request); this.deleteVpcIpBlock = request.deleteVpcIpBlock; this.egressIpv6Enable = request.egressIpv6Enable; this.httpsPolicy = request.httpsPolicy; this.IPV6Enabled = request.IPV6Enabled; this.instanceId = request.instanceId; this.instanceName = request.instanceName; this.intranetSegments = request.intranetSegments; this.maintainEndTime = request.maintainEndTime; this.maintainStartTime = request.maintainStartTime; this.toConnectVpcIpBlock = request.toConnectVpcIpBlock; this.token = request.token; this.vpcSlbIntranetEnable = request.vpcSlbIntranetEnable; } /** *

If delete VPC Ip block.

* * example: *

true

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

If enable outbound IPv6 Traffic.

* * example: *

true

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

The HTTPS policy.

* * example: *

HTTPS2_TLS1_0

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

If enable inbound IPv6 Traffic.

* * example: *

true

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

The ID of the instance.

*

This parameter is required.

* * example: *

apigateway-ht-8xxxxxxxxx

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

Instance Name

* * example: *

apigatewayInstance

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

Custom private CIDR block.

* * example: *

172.0.0.1/24

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

Maintainable end time.

* * example: *

23:00Z

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

Maintainable start time.

* * example: *

18:00Z

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

The information about the CIDR block that API Gateway can use to access the virtual private cloud (VPC) of the backend service.

*/ public Builder toConnectVpcIpBlock(ToConnectVpcIpBlock toConnectVpcIpBlock) { String toConnectVpcIpBlockShrink = shrink(toConnectVpcIpBlock, "ToConnectVpcIpBlock", "json"); this.putQueryParameter("ToConnectVpcIpBlock", toConnectVpcIpBlockShrink); this.toConnectVpcIpBlock = toConnectVpcIpBlock; return this; } /** *

The token of the request.

* * example: *

c20d86c4-1eb3-4d0b-afe9-c586df1e2136

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

Specifies whether to enable the self-calling domain name.

* * example: *

false

*/ public Builder vpcSlbIntranetEnable(String vpcSlbIntranetEnable) { this.putQueryParameter("VpcSlbIntranetEnable", vpcSlbIntranetEnable); this.vpcSlbIntranetEnable = vpcSlbIntranetEnable; return this; } @Override public ModifyInstanceAttributeRequest build() { return new ModifyInstanceAttributeRequest(this); } } /** * * {@link ModifyInstanceAttributeRequest} extends {@link TeaModel} * *

ModifyInstanceAttributeRequest

*/ public static class ToConnectVpcIpBlock extends TeaModel { @com.aliyun.core.annotation.NameInMap("CidrBlock") private String cidrBlock; @com.aliyun.core.annotation.NameInMap("Customized") private Boolean customized; @com.aliyun.core.annotation.NameInMap("VswitchId") private String vswitchId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private ToConnectVpcIpBlock(Builder builder) { this.cidrBlock = builder.cidrBlock; this.customized = builder.customized; this.vswitchId = builder.vswitchId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static ToConnectVpcIpBlock create() { return builder().build(); } /** * @return cidrBlock */ public String getCidrBlock() { return this.cidrBlock; } /** * @return customized */ public Boolean getCustomized() { return this.customized; } /** * @return vswitchId */ public String getVswitchId() { return this.vswitchId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String cidrBlock; private Boolean customized; private String vswitchId; private String zoneId; /** *

The CIDR block of the VSwitch.

* * example: *

172.16.0.0/16

*/ public Builder cidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; return this; } /** *

Specifies whether the CIDR block is a custom CIDR block.

* * example: *

false

*/ public Builder customized(Boolean customized) { this.customized = customized; return this; } /** *

The vSwitch ID.

* * example: *

vsw-wz94cqvaoe1ipxxxxxx

*/ public Builder vswitchId(String vswitchId) { this.vswitchId = vswitchId; return this; } /** *

The zone ID.

* * example: *

cn-hangzhou-a

*/ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public ToConnectVpcIpBlock build() { return new ToConnectVpcIpBlock(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy