com.aliyun.sdk.service.ecs20140526.models.CreateAutoSnapshotPolicyResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link CreateAutoSnapshotPolicyResponseBody} extends {@link TeaModel}
*
* CreateAutoSnapshotPolicyResponseBody
*/
public class CreateAutoSnapshotPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AutoSnapshotPolicyId")
private String autoSnapshotPolicyId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private CreateAutoSnapshotPolicyResponseBody(Builder builder) {
this.autoSnapshotPolicyId = builder.autoSnapshotPolicyId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateAutoSnapshotPolicyResponseBody create() {
return builder().build();
}
/**
* @return autoSnapshotPolicyId
*/
public String getAutoSnapshotPolicyId() {
return this.autoSnapshotPolicyId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String autoSnapshotPolicyId;
private String requestId;
/**
* The automatic snapshot policy ID.
*
* example:
* sp-bp12m37ccmxvbmi5****
*/
public Builder autoSnapshotPolicyId(String autoSnapshotPolicyId) {
this.autoSnapshotPolicyId = autoSnapshotPolicyId;
return this;
}
/**
* The request ID.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateAutoSnapshotPolicyResponseBody build() {
return new CreateAutoSnapshotPolicyResponseBody(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy