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

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

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

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

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

AllocateEipAddressRequest

*/ public class AllocateEipAddressRequest extends Request { @Query @NameInMap("ActivityId") private Long activityId; @Query @NameInMap("Bandwidth") private String bandwidth; @Query @NameInMap("ClientToken") private String clientToken; @Query @NameInMap("ISP") private String ISP; @Query @NameInMap("InternetChargeType") private String internetChargeType; @Query @NameInMap("OwnerAccount") private String ownerAccount; @Query @NameInMap("OwnerId") private Long ownerId; @Query @NameInMap("RegionId") @Validation(required = true) private String regionId; @Query @NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @Query @NameInMap("ResourceOwnerId") private Long resourceOwnerId; private AllocateEipAddressRequest(Builder builder) { super(builder); this.activityId = builder.activityId; this.bandwidth = builder.bandwidth; this.clientToken = builder.clientToken; this.ISP = builder.ISP; this.internetChargeType = builder.internetChargeType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static AllocateEipAddressRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return activityId */ public Long getActivityId() { return this.activityId; } /** * @return bandwidth */ public String getBandwidth() { return this.bandwidth; } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return ISP */ public String getISP() { return this.ISP; } /** * @return internetChargeType */ public String getInternetChargeType() { return this.internetChargeType; } /** * @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; } public static final class Builder extends Request.Builder { private Long activityId; private String bandwidth; private String clientToken; private String ISP; private String internetChargeType; private String ownerAccount; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(AllocateEipAddressRequest request) { super(request); this.activityId = request.activityId; this.bandwidth = request.bandwidth; this.clientToken = request.clientToken; this.ISP = request.ISP; this.internetChargeType = request.internetChargeType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * ActivityId. */ public Builder activityId(Long activityId) { this.putQueryParameter("ActivityId", activityId); this.activityId = activityId; return this; } /** * Bandwidth. */ public Builder bandwidth(String bandwidth) { this.putQueryParameter("Bandwidth", bandwidth); this.bandwidth = bandwidth; return this; } /** * ClientToken. */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * ISP. */ public Builder ISP(String ISP) { this.putQueryParameter("ISP", ISP); this.ISP = ISP; return this; } /** * InternetChargeType. */ public Builder internetChargeType(String internetChargeType) { this.putQueryParameter("InternetChargeType", internetChargeType); this.internetChargeType = internetChargeType; 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; } @Override public AllocateEipAddressRequest build() { return new AllocateEipAddressRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy