|
| 1 | +// This file is auto-generated, don't edit it. Thanks. |
| 2 | +package com.aliyun.sdk.service.hitsdb20200615.models; |
| 3 | + |
| 4 | +import com.aliyun.sdk.gateway.pop.*; |
| 5 | +import darabonba.core.*; |
| 6 | +import darabonba.core.async.*; |
| 7 | +import darabonba.core.sync.*; |
| 8 | +import darabonba.core.client.*; |
| 9 | +import darabonba.core.RequestModel; |
| 10 | +import darabonba.core.TeaModel; |
| 11 | +import com.aliyun.sdk.gateway.pop.models.*; |
| 12 | + |
| 13 | +/** |
| 14 | + * |
| 15 | + * {@link GetLindormV2StreamEngineInfoRequest} extends {@link RequestModel} |
| 16 | + * |
| 17 | + * <p>GetLindormV2StreamEngineInfoRequest</p> |
| 18 | + */ |
| 19 | +public class GetLindormV2StreamEngineInfoRequest extends Request { |
| 20 | + @com.aliyun.core.annotation.Host |
| 21 | + @com.aliyun.core.annotation.NameInMap("RegionId") |
| 22 | + private String regionId; |
| 23 | + |
| 24 | + @com.aliyun.core.annotation.Query |
| 25 | + @com.aliyun.core.annotation.NameInMap("InstanceId") |
| 26 | + @com.aliyun.core.annotation.Validation(required = true) |
| 27 | + private String instanceId; |
| 28 | + |
| 29 | + @com.aliyun.core.annotation.Query |
| 30 | + @com.aliyun.core.annotation.NameInMap("OwnerAccount") |
| 31 | + private String ownerAccount; |
| 32 | + |
| 33 | + @com.aliyun.core.annotation.Query |
| 34 | + @com.aliyun.core.annotation.NameInMap("OwnerId") |
| 35 | + @com.aliyun.core.annotation.Validation(minimum = 1) |
| 36 | + private Long ownerId; |
| 37 | + |
| 38 | + @com.aliyun.core.annotation.Query |
| 39 | + @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") |
| 40 | + private String resourceOwnerAccount; |
| 41 | + |
| 42 | + @com.aliyun.core.annotation.Query |
| 43 | + @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") |
| 44 | + @com.aliyun.core.annotation.Validation(minimum = 1) |
| 45 | + private Long resourceOwnerId; |
| 46 | + |
| 47 | + @com.aliyun.core.annotation.Query |
| 48 | + @com.aliyun.core.annotation.NameInMap("SecurityToken") |
| 49 | + private String securityToken; |
| 50 | + |
| 51 | + private GetLindormV2StreamEngineInfoRequest(Builder builder) { |
| 52 | + super(builder); |
| 53 | + this.regionId = builder.regionId; |
| 54 | + this.instanceId = builder.instanceId; |
| 55 | + this.ownerAccount = builder.ownerAccount; |
| 56 | + this.ownerId = builder.ownerId; |
| 57 | + this.resourceOwnerAccount = builder.resourceOwnerAccount; |
| 58 | + this.resourceOwnerId = builder.resourceOwnerId; |
| 59 | + this.securityToken = builder.securityToken; |
| 60 | + } |
| 61 | + |
| 62 | + public static Builder builder() { |
| 63 | + return new Builder(); |
| 64 | + } |
| 65 | + |
| 66 | + public static GetLindormV2StreamEngineInfoRequest create() { |
| 67 | + return builder().build(); |
| 68 | + } |
| 69 | + |
| 70 | +@Override |
| 71 | + public Builder toBuilder() { |
| 72 | + return new Builder(this); |
| 73 | + } |
| 74 | + |
| 75 | + /** |
| 76 | + * @return regionId |
| 77 | + */ |
| 78 | + public String getRegionId() { |
| 79 | + return this.regionId; |
| 80 | + } |
| 81 | + |
| 82 | + /** |
| 83 | + * @return instanceId |
| 84 | + */ |
| 85 | + public String getInstanceId() { |
| 86 | + return this.instanceId; |
| 87 | + } |
| 88 | + |
| 89 | + /** |
| 90 | + * @return ownerAccount |
| 91 | + */ |
| 92 | + public String getOwnerAccount() { |
| 93 | + return this.ownerAccount; |
| 94 | + } |
| 95 | + |
| 96 | + /** |
| 97 | + * @return ownerId |
| 98 | + */ |
| 99 | + public Long getOwnerId() { |
| 100 | + return this.ownerId; |
| 101 | + } |
| 102 | + |
| 103 | + /** |
| 104 | + * @return resourceOwnerAccount |
| 105 | + */ |
| 106 | + public String getResourceOwnerAccount() { |
| 107 | + return this.resourceOwnerAccount; |
| 108 | + } |
| 109 | + |
| 110 | + /** |
| 111 | + * @return resourceOwnerId |
| 112 | + */ |
| 113 | + public Long getResourceOwnerId() { |
| 114 | + return this.resourceOwnerId; |
| 115 | + } |
| 116 | + |
| 117 | + /** |
| 118 | + * @return securityToken |
| 119 | + */ |
| 120 | + public String getSecurityToken() { |
| 121 | + return this.securityToken; |
| 122 | + } |
| 123 | + |
| 124 | + public static final class Builder extends Request.Builder<GetLindormV2StreamEngineInfoRequest, Builder> { |
| 125 | + private String regionId; |
| 126 | + private String instanceId; |
| 127 | + private String ownerAccount; |
| 128 | + private Long ownerId; |
| 129 | + private String resourceOwnerAccount; |
| 130 | + private Long resourceOwnerId; |
| 131 | + private String securityToken; |
| 132 | + |
| 133 | + private Builder() { |
| 134 | + super(); |
| 135 | + } |
| 136 | + |
| 137 | + private Builder(GetLindormV2StreamEngineInfoRequest request) { |
| 138 | + super(request); |
| 139 | + this.regionId = request.regionId; |
| 140 | + this.instanceId = request.instanceId; |
| 141 | + this.ownerAccount = request.ownerAccount; |
| 142 | + this.ownerId = request.ownerId; |
| 143 | + this.resourceOwnerAccount = request.resourceOwnerAccount; |
| 144 | + this.resourceOwnerId = request.resourceOwnerId; |
| 145 | + this.securityToken = request.securityToken; |
| 146 | + } |
| 147 | + |
| 148 | + /** |
| 149 | + * RegionId. |
| 150 | + */ |
| 151 | + public Builder regionId(String regionId) { |
| 152 | + this.putHostParameter("RegionId", regionId); |
| 153 | + this.regionId = regionId; |
| 154 | + return this; |
| 155 | + } |
| 156 | + |
| 157 | + /** |
| 158 | + * <p>This parameter is required.</p> |
| 159 | + */ |
| 160 | + public Builder instanceId(String instanceId) { |
| 161 | + this.putQueryParameter("InstanceId", instanceId); |
| 162 | + this.instanceId = instanceId; |
| 163 | + return this; |
| 164 | + } |
| 165 | + |
| 166 | + /** |
| 167 | + * OwnerAccount. |
| 168 | + */ |
| 169 | + public Builder ownerAccount(String ownerAccount) { |
| 170 | + this.putQueryParameter("OwnerAccount", ownerAccount); |
| 171 | + this.ownerAccount = ownerAccount; |
| 172 | + return this; |
| 173 | + } |
| 174 | + |
| 175 | + /** |
| 176 | + * OwnerId. |
| 177 | + */ |
| 178 | + public Builder ownerId(Long ownerId) { |
| 179 | + this.putQueryParameter("OwnerId", ownerId); |
| 180 | + this.ownerId = ownerId; |
| 181 | + return this; |
| 182 | + } |
| 183 | + |
| 184 | + /** |
| 185 | + * ResourceOwnerAccount. |
| 186 | + */ |
| 187 | + public Builder resourceOwnerAccount(String resourceOwnerAccount) { |
| 188 | + this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); |
| 189 | + this.resourceOwnerAccount = resourceOwnerAccount; |
| 190 | + return this; |
| 191 | + } |
| 192 | + |
| 193 | + /** |
| 194 | + * ResourceOwnerId. |
| 195 | + */ |
| 196 | + public Builder resourceOwnerId(Long resourceOwnerId) { |
| 197 | + this.putQueryParameter("ResourceOwnerId", resourceOwnerId); |
| 198 | + this.resourceOwnerId = resourceOwnerId; |
| 199 | + return this; |
| 200 | + } |
| 201 | + |
| 202 | + /** |
| 203 | + * SecurityToken. |
| 204 | + */ |
| 205 | + public Builder securityToken(String securityToken) { |
| 206 | + this.putQueryParameter("SecurityToken", securityToken); |
| 207 | + this.securityToken = securityToken; |
| 208 | + return this; |
| 209 | + } |
| 210 | + |
| 211 | + @Override |
| 212 | + public GetLindormV2StreamEngineInfoRequest build() { |
| 213 | + return new GetLindormV2StreamEngineInfoRequest(this); |
| 214 | + } |
| 215 | + |
| 216 | + } |
| 217 | + |
| 218 | +} |
0 commit comments