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

com.aliyun.sdk.service.ens20171110.models.CreateImageResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link CreateImageResponseBody} extends {@link TeaModel}
 *
 * 

CreateImageResponseBody

*/ public class CreateImageResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("ImageId") private String imageId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateImageResponseBody(Builder builder) { this.code = builder.code; this.imageId = builder.imageId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static CreateImageResponseBody create() { return builder().build(); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Integer code; private String imageId; private String requestId; /** *

The returned service code. 0 indicates that the request was successful.

* * example: *

0

*/ public Builder code(Integer code) { this.code = code; return this; } /** *

The ID of the image.

* * example: *

m-5xxgg

*/ public Builder imageId(String imageId) { this.imageId = imageId; return this; } /** *

The request ID.

* * example: *

8BEF0D72-9901-5D43-B7D3-8B42AC26C516

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public CreateImageResponseBody build() { return new CreateImageResponseBody(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy