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

com.aliyun.sdk.service.dts20200101.models.DescribeDTSIPRequest Maven / Gradle / Ivy

There is a newer version: 1.0.18
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dts20200101.models;

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

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

DescribeDTSIPRequest

*/ public class DescribeDTSIPRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DestinationEndpointRegion") private String destinationEndpointRegion; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SourceEndpointRegion") @com.aliyun.core.annotation.Validation(required = true) private String sourceEndpointRegion; private DescribeDTSIPRequest(Builder builder) { super(builder); this.destinationEndpointRegion = builder.destinationEndpointRegion; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.sourceEndpointRegion = builder.sourceEndpointRegion; } public static Builder builder() { return new Builder(); } public static DescribeDTSIPRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return destinationEndpointRegion */ public String getDestinationEndpointRegion() { return this.destinationEndpointRegion; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return sourceEndpointRegion */ public String getSourceEndpointRegion() { return this.sourceEndpointRegion; } public static final class Builder extends Request.Builder { private String destinationEndpointRegion; private String regionId; private String resourceGroupId; private String sourceEndpointRegion; private Builder() { super(); } private Builder(DescribeDTSIPRequest request) { super(request); this.destinationEndpointRegion = request.destinationEndpointRegion; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.sourceEndpointRegion = request.sourceEndpointRegion; } /** * The ID of the region where the destination instance resides. For more information, see [List of supported regions](~~141033~~). *

* * > If the destination instance is a self-managed database with a public IP address, you can set the parameter to **cn-hangzhou** or the ID of the closest region. */ public Builder destinationEndpointRegion(String destinationEndpointRegion) { this.putQueryParameter("DestinationEndpointRegion", destinationEndpointRegion); this.destinationEndpointRegion = destinationEndpointRegion; 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; } /** * The ID of the region where the source instance resides. For more information, see [List of supported regions](~~141033~~). *

* * > If the source instance is a self-managed database with a public IP address, you can set the parameter to **cn-hangzhou** or the ID of the closest region. */ public Builder sourceEndpointRegion(String sourceEndpointRegion) { this.putQueryParameter("SourceEndpointRegion", sourceEndpointRegion); this.sourceEndpointRegion = sourceEndpointRegion; return this; } @Override public DescribeDTSIPRequest build() { return new DescribeDTSIPRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy