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

com.aliyun.sdk.service.ecs20140526.models.ReleasePublicIpAddressRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.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 ReleasePublicIpAddressRequest} extends {@link RequestModel}
 *
 * 

ReleasePublicIpAddressRequest

*/ public class ReleasePublicIpAddressRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("SourceRegionId") private String sourceRegionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DryRun") private Boolean dryRun; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PublicIpAddress") @com.aliyun.core.annotation.Validation(required = true) private String publicIpAddress; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private ReleasePublicIpAddressRequest(Builder builder) { super(builder); this.sourceRegionId = builder.sourceRegionId; this.dryRun = builder.dryRun; this.instanceId = builder.instanceId; this.publicIpAddress = builder.publicIpAddress; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static ReleasePublicIpAddressRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return sourceRegionId */ public String getSourceRegionId() { return this.sourceRegionId; } /** * @return dryRun */ public Boolean getDryRun() { return this.dryRun; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return publicIpAddress */ public String getPublicIpAddress() { return this.publicIpAddress; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder { private String sourceRegionId; private Boolean dryRun; private String instanceId; private String publicIpAddress; private String regionId; private Builder() { super(); } private Builder(ReleasePublicIpAddressRequest request) { super(request); this.sourceRegionId = request.sourceRegionId; this.dryRun = request.dryRun; this.instanceId = request.instanceId; this.publicIpAddress = request.publicIpAddress; this.regionId = request.regionId; } /** * SourceRegionId. */ public Builder sourceRegionId(String sourceRegionId) { this.putHostParameter("SourceRegionId", sourceRegionId); this.sourceRegionId = sourceRegionId; return this; } /** *
*

This parameter is unavailable.

*
* * example: *

hide

*/ public Builder dryRun(Boolean dryRun) { this.putQueryParameter("DryRun", dryRun); this.dryRun = dryRun; return this; } /** *

The ID of the instance.

* * example: *

i-bp67acfmxazb4p****

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

The public IP address of the instance.

*

This parameter is required.

* * example: *

121.40.**.**

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

The region ID of the instance.

* * example: *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public ReleasePublicIpAddressRequest build() { return new ReleasePublicIpAddressRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy