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

com.aliyun.sdk.service.ecs20140526.models.DescribeSnapshotGroupsResponseBody Maven / Gradle / Ivy

There is a newer version: 6.0.4
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

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

DescribeSnapshotGroupsResponseBody

*/ public class DescribeSnapshotGroupsResponseBody extends TeaModel { @NameInMap("NextToken") private String nextToken; @NameInMap("RequestId") private String requestId; @NameInMap("SnapshotGroups") private SnapshotGroups snapshotGroups; private DescribeSnapshotGroupsResponseBody(Builder builder) { this.nextToken = builder.nextToken; this.requestId = builder.requestId; this.snapshotGroups = builder.snapshotGroups; } public static Builder builder() { return new Builder(); } public static DescribeSnapshotGroupsResponseBody create() { return builder().build(); } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return snapshotGroups */ public SnapshotGroups getSnapshotGroups() { return this.snapshotGroups; } public static final class Builder { private String nextToken; private String requestId; private SnapshotGroups snapshotGroups; /** * NextToken. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * SnapshotGroups. */ public Builder snapshotGroups(SnapshotGroups snapshotGroups) { this.snapshotGroups = snapshotGroups; return this; } public DescribeSnapshotGroupsResponseBody build() { return new DescribeSnapshotGroupsResponseBody(this); } } public static class Tag extends TeaModel { @NameInMap("Key") private String key; @NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } public static class Tags extends TeaModel { @NameInMap("Tag") private java.util.List < Tag> tag; private Tags(Builder builder) { this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } public static final class Builder { private java.util.List < Tag> tag; /** * Tag. */ public Builder tag(java.util.List < Tag> tag) { this.tag = tag; return this; } public Tags build() { return new Tags(this); } } } public static class Snapshot extends TeaModel { @NameInMap("InstantAccess") private Boolean instantAccess; @NameInMap("InstantAccessRetentionDays") private Integer instantAccessRetentionDays; @NameInMap("Progress") private String progress; @NameInMap("SnapshotId") private String snapshotId; @NameInMap("SourceDiskId") private String sourceDiskId; @NameInMap("SourceDiskType") private String sourceDiskType; @NameInMap("Tags") private Tags tags; private Snapshot(Builder builder) { this.instantAccess = builder.instantAccess; this.instantAccessRetentionDays = builder.instantAccessRetentionDays; this.progress = builder.progress; this.snapshotId = builder.snapshotId; this.sourceDiskId = builder.sourceDiskId; this.sourceDiskType = builder.sourceDiskType; this.tags = builder.tags; } public static Builder builder() { return new Builder(); } public static Snapshot create() { return builder().build(); } /** * @return instantAccess */ public Boolean getInstantAccess() { return this.instantAccess; } /** * @return instantAccessRetentionDays */ public Integer getInstantAccessRetentionDays() { return this.instantAccessRetentionDays; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return snapshotId */ public String getSnapshotId() { return this.snapshotId; } /** * @return sourceDiskId */ public String getSourceDiskId() { return this.sourceDiskId; } /** * @return sourceDiskType */ public String getSourceDiskType() { return this.sourceDiskType; } /** * @return tags */ public Tags getTags() { return this.tags; } public static final class Builder { private Boolean instantAccess; private Integer instantAccessRetentionDays; private String progress; private String snapshotId; private String sourceDiskId; private String sourceDiskType; private Tags tags; /** * InstantAccess. */ public Builder instantAccess(Boolean instantAccess) { this.instantAccess = instantAccess; return this; } /** * InstantAccessRetentionDays. */ public Builder instantAccessRetentionDays(Integer instantAccessRetentionDays) { this.instantAccessRetentionDays = instantAccessRetentionDays; return this; } /** * Progress. */ public Builder progress(String progress) { this.progress = progress; return this; } /** * SnapshotId. */ public Builder snapshotId(String snapshotId) { this.snapshotId = snapshotId; return this; } /** * SourceDiskId. */ public Builder sourceDiskId(String sourceDiskId) { this.sourceDiskId = sourceDiskId; return this; } /** * SourceDiskType. */ public Builder sourceDiskType(String sourceDiskType) { this.sourceDiskType = sourceDiskType; return this; } /** * Tags. */ public Builder tags(Tags tags) { this.tags = tags; return this; } public Snapshot build() { return new Snapshot(this); } } } public static class Snapshots extends TeaModel { @NameInMap("Snapshot") private java.util.List < Snapshot> snapshot; private Snapshots(Builder builder) { this.snapshot = builder.snapshot; } public static Builder builder() { return new Builder(); } public static Snapshots create() { return builder().build(); } /** * @return snapshot */ public java.util.List < Snapshot> getSnapshot() { return this.snapshot; } public static final class Builder { private java.util.List < Snapshot> snapshot; /** * Snapshot. */ public Builder snapshot(java.util.List < Snapshot> snapshot) { this.snapshot = snapshot; return this; } public Snapshots build() { return new Snapshots(this); } } } public static class TagsTag extends TeaModel { @NameInMap("Key") private String key; @NameInMap("Value") private String value; private TagsTag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static TagsTag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public TagsTag build() { return new TagsTag(this); } } } public static class SnapshotGroupTags extends TeaModel { @NameInMap("Tag") private java.util.List < TagsTag> tag; private SnapshotGroupTags(Builder builder) { this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static SnapshotGroupTags create() { return builder().build(); } /** * @return tag */ public java.util.List < TagsTag> getTag() { return this.tag; } public static final class Builder { private java.util.List < TagsTag> tag; /** * Tag. */ public Builder tag(java.util.List < TagsTag> tag) { this.tag = tag; return this; } public SnapshotGroupTags build() { return new SnapshotGroupTags(this); } } } public static class SnapshotGroup extends TeaModel { @NameInMap("CreationTime") private String creationTime; @NameInMap("Description") private String description; @NameInMap("InstanceId") private String instanceId; @NameInMap("Name") private String name; @NameInMap("ProgressStatus") private String progressStatus; @NameInMap("ResourceGroupId") private String resourceGroupId; @NameInMap("SnapshotGroupId") private String snapshotGroupId; @NameInMap("Snapshots") private Snapshots snapshots; @NameInMap("Status") private String status; @NameInMap("Tags") private SnapshotGroupTags tags; private SnapshotGroup(Builder builder) { this.creationTime = builder.creationTime; this.description = builder.description; this.instanceId = builder.instanceId; this.name = builder.name; this.progressStatus = builder.progressStatus; this.resourceGroupId = builder.resourceGroupId; this.snapshotGroupId = builder.snapshotGroupId; this.snapshots = builder.snapshots; this.status = builder.status; this.tags = builder.tags; } public static Builder builder() { return new Builder(); } public static SnapshotGroup create() { return builder().build(); } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return name */ public String getName() { return this.name; } /** * @return progressStatus */ public String getProgressStatus() { return this.progressStatus; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return snapshotGroupId */ public String getSnapshotGroupId() { return this.snapshotGroupId; } /** * @return snapshots */ public Snapshots getSnapshots() { return this.snapshots; } /** * @return status */ public String getStatus() { return this.status; } /** * @return tags */ public SnapshotGroupTags getTags() { return this.tags; } public static final class Builder { private String creationTime; private String description; private String instanceId; private String name; private String progressStatus; private String resourceGroupId; private String snapshotGroupId; private Snapshots snapshots; private String status; private SnapshotGroupTags tags; /** * CreationTime. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * ProgressStatus. */ public Builder progressStatus(String progressStatus) { this.progressStatus = progressStatus; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * SnapshotGroupId. */ public Builder snapshotGroupId(String snapshotGroupId) { this.snapshotGroupId = snapshotGroupId; return this; } /** * Snapshots. */ public Builder snapshots(Snapshots snapshots) { this.snapshots = snapshots; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * Tags. */ public Builder tags(SnapshotGroupTags tags) { this.tags = tags; return this; } public SnapshotGroup build() { return new SnapshotGroup(this); } } } public static class SnapshotGroups extends TeaModel { @NameInMap("SnapshotGroup") private java.util.List < SnapshotGroup> snapshotGroup; private SnapshotGroups(Builder builder) { this.snapshotGroup = builder.snapshotGroup; } public static Builder builder() { return new Builder(); } public static SnapshotGroups create() { return builder().build(); } /** * @return snapshotGroup */ public java.util.List < SnapshotGroup> getSnapshotGroup() { return this.snapshotGroup; } public static final class Builder { private java.util.List < SnapshotGroup> snapshotGroup; /** * SnapshotGroup. */ public Builder snapshotGroup(java.util.List < SnapshotGroup> snapshotGroup) { this.snapshotGroup = snapshotGroup; return this; } public SnapshotGroups build() { return new SnapshotGroups(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy