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

com.aliyun.sdk.service.iot20180120.models.DetachDestinationRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.iot20180120.models;

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

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

DetachDestinationRequest

*/ public class DetachDestinationRequest extends Request { @Query @NameInMap("DestinationId") @Validation(required = true, maximum = 999999999999D) private Long destinationId; @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("ParserId") @Validation(required = true, maximum = 9999999999D, minimum = 1) private Long parserId; private DetachDestinationRequest(Builder builder) { super(builder); this.destinationId = builder.destinationId; this.iotInstanceId = builder.iotInstanceId; this.parserId = builder.parserId; } public static Builder builder() { return new Builder(); } public static DetachDestinationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return destinationId */ public Long getDestinationId() { return this.destinationId; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return parserId */ public Long getParserId() { return this.parserId; } public static final class Builder extends Request.Builder { private Long destinationId; private String iotInstanceId; private Long parserId; private Builder() { super(); } private Builder(DetachDestinationRequest request) { super(request); this.destinationId = request.destinationId; this.iotInstanceId = request.iotInstanceId; this.parserId = request.parserId; } /** * DestinationId. */ public Builder destinationId(Long destinationId) { this.putQueryParameter("DestinationId", destinationId); this.destinationId = destinationId; return this; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putQueryParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } /** * ParserId. */ public Builder parserId(Long parserId) { this.putQueryParameter("ParserId", parserId); this.parserId = parserId; return this; } @Override public DetachDestinationRequest build() { return new DetachDestinationRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy