com.aliyuncs.ecs.model.v20140526.DescribeAutoSnapshotPolicyExResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-ecs Show documentation
Show all versions of aliyun-java-sdk-ecs Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
The newest version!
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.ecs.model.v20140526;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.ecs.transform.v20140526.DescribeAutoSnapshotPolicyExResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAutoSnapshotPolicyExResponse extends AcsResponse {
private Integer pageSize;
private String requestId;
private Integer pageNumber;
private Integer totalCount;
private List autoSnapshotPolicies;
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List getAutoSnapshotPolicies() {
return this.autoSnapshotPolicies;
}
public void setAutoSnapshotPolicies(List autoSnapshotPolicies) {
this.autoSnapshotPolicies = autoSnapshotPolicies;
}
public static class AutoSnapshotPolicy {
private String timePoints;
private String creationTime;
private String status;
private String autoSnapshotPolicyName;
private String targetCopyRegions;
private Integer copiedSnapshotsRetentionDays;
private String autoSnapshotPolicyId;
private Integer retentionDays;
private String regionId;
private Integer diskNums;
private Boolean enableCrossRegionCopy;
private String repeatWeekdays;
private Integer volumeNums;
private String resourceGroupId;
private String type;
private List tags;
private CopyEncryptionConfiguration copyEncryptionConfiguration;
public String getTimePoints() {
return this.timePoints;
}
public void setTimePoints(String timePoints) {
this.timePoints = timePoints;
}
public String getCreationTime() {
return this.creationTime;
}
public void setCreationTime(String creationTime) {
this.creationTime = creationTime;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getAutoSnapshotPolicyName() {
return this.autoSnapshotPolicyName;
}
public void setAutoSnapshotPolicyName(String autoSnapshotPolicyName) {
this.autoSnapshotPolicyName = autoSnapshotPolicyName;
}
public String getTargetCopyRegions() {
return this.targetCopyRegions;
}
public void setTargetCopyRegions(String targetCopyRegions) {
this.targetCopyRegions = targetCopyRegions;
}
public Integer getCopiedSnapshotsRetentionDays() {
return this.copiedSnapshotsRetentionDays;
}
public void setCopiedSnapshotsRetentionDays(Integer copiedSnapshotsRetentionDays) {
this.copiedSnapshotsRetentionDays = copiedSnapshotsRetentionDays;
}
public String getAutoSnapshotPolicyId() {
return this.autoSnapshotPolicyId;
}
public void setAutoSnapshotPolicyId(String autoSnapshotPolicyId) {
this.autoSnapshotPolicyId = autoSnapshotPolicyId;
}
public Integer getRetentionDays() {
return this.retentionDays;
}
public void setRetentionDays(Integer retentionDays) {
this.retentionDays = retentionDays;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public Integer getDiskNums() {
return this.diskNums;
}
public void setDiskNums(Integer diskNums) {
this.diskNums = diskNums;
}
public Boolean getEnableCrossRegionCopy() {
return this.enableCrossRegionCopy;
}
public void setEnableCrossRegionCopy(Boolean enableCrossRegionCopy) {
this.enableCrossRegionCopy = enableCrossRegionCopy;
}
public String getRepeatWeekdays() {
return this.repeatWeekdays;
}
public void setRepeatWeekdays(String repeatWeekdays) {
this.repeatWeekdays = repeatWeekdays;
}
public Integer getVolumeNums() {
return this.volumeNums;
}
public void setVolumeNums(Integer volumeNums) {
this.volumeNums = volumeNums;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public List getTags() {
return this.tags;
}
public void setTags(List tags) {
this.tags = tags;
}
public CopyEncryptionConfiguration getCopyEncryptionConfiguration() {
return this.copyEncryptionConfiguration;
}
public void setCopyEncryptionConfiguration(CopyEncryptionConfiguration copyEncryptionConfiguration) {
this.copyEncryptionConfiguration = copyEncryptionConfiguration;
}
public static class Tag {
private String tagValue;
private String tagKey;
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
public static class CopyEncryptionConfiguration {
private Boolean encrypted;
private String kMSKeyId;
public Boolean getEncrypted() {
return this.encrypted;
}
public void setEncrypted(Boolean encrypted) {
this.encrypted = encrypted;
}
public String getKMSKeyId() {
return this.kMSKeyId;
}
public void setKMSKeyId(String kMSKeyId) {
this.kMSKeyId = kMSKeyId;
}
}
}
@Override
public DescribeAutoSnapshotPolicyExResponse getInstance(UnmarshallerContext context) {
return DescribeAutoSnapshotPolicyExResponseUnmarshaller.unmarshall(this, context);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy