com.aliyun.sdk.service.iot20180120.models.UpdateConsumerGroupResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-iot20180120 Show documentation
Show all versions of alibabacloud-iot20180120 Show documentation
Alibaba Cloud Iot (20180120) Async SDK for Java
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 UpdateConsumerGroupResponse} extends {@link TeaModel}
*
* UpdateConsumerGroupResponse
*/
public class UpdateConsumerGroupResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("body")
@Validation(required = true)
private UpdateConsumerGroupResponseBody body;
private UpdateConsumerGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.body = builder.body;
}
public static UpdateConsumerGroupResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return body
*/
public UpdateConsumerGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder {
Builder headers(java.util.Map < String, String > headers);
Builder body(UpdateConsumerGroupResponseBody body);
@Override
UpdateConsumerGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl
implements Builder {
private java.util.Map < String, String > headers;
private UpdateConsumerGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateConsumerGroupResponse response) {
super(response);
this.headers = response.headers;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateConsumerGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateConsumerGroupResponse build() {
return new UpdateConsumerGroupResponse(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy