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

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

DeleteRouteEntryRequest

*/ public class DeleteRouteEntryRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DestinationCidrBlock") @com.aliyun.core.annotation.Validation(required = true) private String destinationCidrBlock; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NextHopId") private String nextHopId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NextHopList") private java.util.List nextHopList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RouteTableId") @com.aliyun.core.annotation.Validation(required = true) private String routeTableId; private DeleteRouteEntryRequest(Builder builder) { super(builder); this.destinationCidrBlock = builder.destinationCidrBlock; this.nextHopId = builder.nextHopId; this.nextHopList = builder.nextHopList; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.routeTableId = builder.routeTableId; } public static Builder builder() { return new Builder(); } public static DeleteRouteEntryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return destinationCidrBlock */ public String getDestinationCidrBlock() { return this.destinationCidrBlock; } /** * @return nextHopId */ public String getNextHopId() { return this.nextHopId; } /** * @return nextHopList */ public java.util.List getNextHopList() { return this.nextHopList; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return routeTableId */ public String getRouteTableId() { return this.routeTableId; } public static final class Builder extends Request.Builder { private String destinationCidrBlock; private String nextHopId; private java.util.List nextHopList; private String ownerAccount; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String routeTableId; private Builder() { super(); } private Builder(DeleteRouteEntryRequest request) { super(request); this.destinationCidrBlock = request.destinationCidrBlock; this.nextHopId = request.nextHopId; this.nextHopList = request.nextHopList; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.routeTableId = request.routeTableId; } /** *

This parameter is required.

*/ public Builder destinationCidrBlock(String destinationCidrBlock) { this.putQueryParameter("DestinationCidrBlock", destinationCidrBlock); this.destinationCidrBlock = destinationCidrBlock; return this; } /** * NextHopId. */ public Builder nextHopId(String nextHopId) { this.putQueryParameter("NextHopId", nextHopId); this.nextHopId = nextHopId; return this; } /** * NextHopList. */ public Builder nextHopList(java.util.List nextHopList) { this.putQueryParameter("NextHopList", nextHopList); this.nextHopList = nextHopList; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** *

This parameter is required.

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

DeleteRouteEntryRequest

*/ public static class NextHopList extends TeaModel { @com.aliyun.core.annotation.NameInMap("NextHopId") private String nextHopId; @com.aliyun.core.annotation.NameInMap("NextHopType") private String nextHopType; private NextHopList(Builder builder) { this.nextHopId = builder.nextHopId; this.nextHopType = builder.nextHopType; } public static Builder builder() { return new Builder(); } public static NextHopList create() { return builder().build(); } /** * @return nextHopId */ public String getNextHopId() { return this.nextHopId; } /** * @return nextHopType */ public String getNextHopType() { return this.nextHopType; } public static final class Builder { private String nextHopId; private String nextHopType; /** * NextHopId. */ public Builder nextHopId(String nextHopId) { this.nextHopId = nextHopId; return this; } /** * NextHopType. */ public Builder nextHopType(String nextHopType) { this.nextHopType = nextHopType; return this; } public NextHopList build() { return new NextHopList(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy