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

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

BindRoleToEdgeInstanceRequest

*/ public class BindRoleToEdgeInstanceRequest extends Request { @Query @NameInMap("InstanceId") @Validation(required = true) private String instanceId; @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("RoleArn") @Validation(required = true) private String roleArn; @Query @NameInMap("RoleName") @Validation(required = true) private String roleName; private BindRoleToEdgeInstanceRequest(Builder builder) { super(builder); this.instanceId = builder.instanceId; this.iotInstanceId = builder.iotInstanceId; this.roleArn = builder.roleArn; this.roleName = builder.roleName; } public static Builder builder() { return new Builder(); } public static BindRoleToEdgeInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return roleArn */ public String getRoleArn() { return this.roleArn; } /** * @return roleName */ public String getRoleName() { return this.roleName; } public static final class Builder extends Request.Builder { private String instanceId; private String iotInstanceId; private String roleArn; private String roleName; private Builder() { super(); } private Builder(BindRoleToEdgeInstanceRequest request) { super(request); this.instanceId = request.instanceId; this.iotInstanceId = request.iotInstanceId; this.roleArn = request.roleArn; this.roleName = request.roleName; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putQueryParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } /** * RoleArn. */ public Builder roleArn(String roleArn) { this.putQueryParameter("RoleArn", roleArn); this.roleArn = roleArn; return this; } /** * RoleName. */ public Builder roleName(String roleName) { this.putQueryParameter("RoleName", roleName); this.roleName = roleName; return this; } @Override public BindRoleToEdgeInstanceRequest build() { return new BindRoleToEdgeInstanceRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy