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

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

CreateDeviceGroupRequest

*/ public class CreateDeviceGroupRequest extends Request { @Query @NameInMap("GroupDesc") private String groupDesc; @Query @NameInMap("GroupName") @Validation(required = true) private String groupName; @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("SuperGroupId") private String superGroupId; private CreateDeviceGroupRequest(Builder builder) { super(builder); this.groupDesc = builder.groupDesc; this.groupName = builder.groupName; this.iotInstanceId = builder.iotInstanceId; this.superGroupId = builder.superGroupId; } public static Builder builder() { return new Builder(); } public static CreateDeviceGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupDesc */ public String getGroupDesc() { return this.groupDesc; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return superGroupId */ public String getSuperGroupId() { return this.superGroupId; } public static final class Builder extends Request.Builder { private String groupDesc; private String groupName; private String iotInstanceId; private String superGroupId; private Builder() { super(); } private Builder(CreateDeviceGroupRequest request) { super(request); this.groupDesc = request.groupDesc; this.groupName = request.groupName; this.iotInstanceId = request.iotInstanceId; this.superGroupId = request.superGroupId; } /** * GroupDesc. */ public Builder groupDesc(String groupDesc) { this.putQueryParameter("GroupDesc", groupDesc); this.groupDesc = groupDesc; return this; } /** * 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; } /** * SuperGroupId. */ public Builder superGroupId(String superGroupId) { this.putQueryParameter("SuperGroupId", superGroupId); this.superGroupId = superGroupId; return this; } @Override public CreateDeviceGroupRequest build() { return new CreateDeviceGroupRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy