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

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

UpdateDestinationRequest

*/ public class UpdateDestinationRequest extends Request { @Query @NameInMap("Configuration") @Validation(required = true) private String configuration; @Query @NameInMap("Description") private String description; @Query @NameInMap("DestinationId") @Validation(required = true, maximum = 999999999999D) private Long destinationId; @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("Name") @Validation(required = true) private String name; @Query @NameInMap("Type") @Validation(required = true) private String type; private UpdateDestinationRequest(Builder builder) { super(builder); this.configuration = builder.configuration; this.description = builder.description; this.destinationId = builder.destinationId; this.iotInstanceId = builder.iotInstanceId; this.name = builder.name; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static UpdateDestinationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return configuration */ public String getConfiguration() { return this.configuration; } /** * @return description */ public String getDescription() { return this.description; } /** * @return destinationId */ public Long getDestinationId() { return this.destinationId; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return name */ public String getName() { return this.name; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder { private String configuration; private String description; private Long destinationId; private String iotInstanceId; private String name; private String type; private Builder() { super(); } private Builder(UpdateDestinationRequest request) { super(request); this.configuration = request.configuration; this.description = request.description; this.destinationId = request.destinationId; this.iotInstanceId = request.iotInstanceId; this.name = request.name; this.type = request.type; } /** * Configuration. */ public Builder configuration(String configuration) { this.putQueryParameter("Configuration", configuration); this.configuration = configuration; return this; } /** * Description. */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * 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; } /** * Name. */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * Type. */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public UpdateDestinationRequest build() { return new UpdateDestinationRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy