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

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

CreateConsumerGroupRequest

*/ public class CreateConsumerGroupRequest extends Request { @Query @NameInMap("GroupName") @Validation(required = true) private String groupName; @Query @NameInMap("IotInstanceId") private String iotInstanceId; private CreateConsumerGroupRequest(Builder builder) { super(builder); this.groupName = builder.groupName; this.iotInstanceId = builder.iotInstanceId; } public static Builder builder() { return new Builder(); } public static CreateConsumerGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } public static final class Builder extends Request.Builder { private String groupName; private String iotInstanceId; private Builder() { super(); } private Builder(CreateConsumerGroupRequest request) { super(request); this.groupName = request.groupName; this.iotInstanceId = request.iotInstanceId; } /** * GroupName. */ public Builder groupName(String groupName) { this.putQueryParameter("GroupName", groupName); this.groupName = groupName; return this; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putQueryParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } @Override public CreateConsumerGroupRequest build() { return new CreateConsumerGroupRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy