com.aliyun.sdk.service.appstream_center20210901.models.UnbindRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.appstream_center20210901.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UnbindRequest} extends {@link RequestModel}
*
* UnbindRequest
*/
public class UnbindRequest extends Request {
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppInstanceGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String appInstanceGroupId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppInstanceId")
private String appInstanceId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppInstancePersistentId")
private String appInstancePersistentId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("EndUserId")
@com.aliyun.core.annotation.Validation(required = true)
private String endUserId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ProductType")
@com.aliyun.core.annotation.Validation(required = true)
private String productType;
private UnbindRequest(Builder builder) {
super(builder);
this.appInstanceGroupId = builder.appInstanceGroupId;
this.appInstanceId = builder.appInstanceId;
this.appInstancePersistentId = builder.appInstancePersistentId;
this.endUserId = builder.endUserId;
this.productType = builder.productType;
}
public static Builder builder() {
return new Builder();
}
public static UnbindRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appInstanceGroupId
*/
public String getAppInstanceGroupId() {
return this.appInstanceGroupId;
}
/**
* @return appInstanceId
*/
public String getAppInstanceId() {
return this.appInstanceId;
}
/**
* @return appInstancePersistentId
*/
public String getAppInstancePersistentId() {
return this.appInstancePersistentId;
}
/**
* @return endUserId
*/
public String getEndUserId() {
return this.endUserId;
}
/**
* @return productType
*/
public String getProductType() {
return this.productType;
}
public static final class Builder extends Request.Builder {
private String appInstanceGroupId;
private String appInstanceId;
private String appInstancePersistentId;
private String endUserId;
private String productType;
private Builder() {
super();
}
private Builder(UnbindRequest request) {
super(request);
this.appInstanceGroupId = request.appInstanceGroupId;
this.appInstanceId = request.appInstanceId;
this.appInstancePersistentId = request.appInstancePersistentId;
this.endUserId = request.endUserId;
this.productType = request.productType;
}
/**
* AppInstanceGroupId.
*/
public Builder appInstanceGroupId(String appInstanceGroupId) {
this.putBodyParameter("AppInstanceGroupId", appInstanceGroupId);
this.appInstanceGroupId = appInstanceGroupId;
return this;
}
/**
* AppInstanceId.
*/
public Builder appInstanceId(String appInstanceId) {
this.putBodyParameter("AppInstanceId", appInstanceId);
this.appInstanceId = appInstanceId;
return this;
}
/**
* AppInstancePersistentId.
*/
public Builder appInstancePersistentId(String appInstancePersistentId) {
this.putBodyParameter("AppInstancePersistentId", appInstancePersistentId);
this.appInstancePersistentId = appInstancePersistentId;
return this;
}
/**
* EndUserId.
*/
public Builder endUserId(String endUserId) {
this.putBodyParameter("EndUserId", endUserId);
this.endUserId = endUserId;
return this;
}
/**
* ProductType.
*/
public Builder productType(String productType) {
this.putBodyParameter("ProductType", productType);
this.productType = productType;
return this;
}
@Override
public UnbindRequest build() {
return new UnbindRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy