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

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

PubBroadcastRequest

*/ public class PubBroadcastRequest extends Request { @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("MessageContent") @Validation(required = true) private String messageContent; @Query @NameInMap("ProductKey") @Validation(required = true) private String productKey; @Query @NameInMap("TopicFullName") private String topicFullName; private PubBroadcastRequest(Builder builder) { super(builder); this.iotInstanceId = builder.iotInstanceId; this.messageContent = builder.messageContent; this.productKey = builder.productKey; this.topicFullName = builder.topicFullName; } public static Builder builder() { return new Builder(); } public static PubBroadcastRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return messageContent */ public String getMessageContent() { return this.messageContent; } /** * @return productKey */ public String getProductKey() { return this.productKey; } /** * @return topicFullName */ public String getTopicFullName() { return this.topicFullName; } public static final class Builder extends Request.Builder { private String iotInstanceId; private String messageContent; private String productKey; private String topicFullName; private Builder() { super(); } private Builder(PubBroadcastRequest request) { super(request); this.iotInstanceId = request.iotInstanceId; this.messageContent = request.messageContent; this.productKey = request.productKey; this.topicFullName = request.topicFullName; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putQueryParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } /** * MessageContent. */ public Builder messageContent(String messageContent) { this.putQueryParameter("MessageContent", messageContent); this.messageContent = messageContent; return this; } /** * ProductKey. */ public Builder productKey(String productKey) { this.putQueryParameter("ProductKey", productKey); this.productKey = productKey; return this; } /** * TopicFullName. */ public Builder topicFullName(String topicFullName) { this.putQueryParameter("TopicFullName", topicFullName); this.topicFullName = topicFullName; return this; } @Override public PubBroadcastRequest build() { return new PubBroadcastRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy