com.aliyun.ens20171110.models.GetBucketLifecycleResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ens20171110 Show documentation
Show all versions of ens20171110 Show documentation
Alibaba Cloud edge node service (20171110) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class GetBucketLifecycleResponseBody extends TeaModel {
/**
* The ID of the request.
*
* example:
* A2583E8B-B930-4F59-ADC0-0E209A90C46E
*/
@NameInMap("RequestId")
public String requestId;
/**
* The detailed information about the rule.
*/
@NameInMap("Rule")
public java.util.List rule;
public static GetBucketLifecycleResponseBody build(java.util.Map map) throws Exception {
GetBucketLifecycleResponseBody self = new GetBucketLifecycleResponseBody();
return TeaModel.build(map, self);
}
public GetBucketLifecycleResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetBucketLifecycleResponseBody setRule(java.util.List rule) {
this.rule = rule;
return this;
}
public java.util.List getRule() {
return this.rule;
}
public static class GetBucketLifecycleResponseBodyRuleExpiration extends TeaModel {
/**
* The expiration date.
*
* example:
* yyy-MM-DDThh:mm:ssZ
*/
@NameInMap("CreatedBeforeDate")
public String createdBeforeDate;
/**
* The validity period, in days.
*
* example:
* 5
*/
@NameInMap("Days")
public String days;
public static GetBucketLifecycleResponseBodyRuleExpiration build(java.util.Map map) throws Exception {
GetBucketLifecycleResponseBodyRuleExpiration self = new GetBucketLifecycleResponseBodyRuleExpiration();
return TeaModel.build(map, self);
}
public GetBucketLifecycleResponseBodyRuleExpiration setCreatedBeforeDate(String createdBeforeDate) {
this.createdBeforeDate = createdBeforeDate;
return this;
}
public String getCreatedBeforeDate() {
return this.createdBeforeDate;
}
public GetBucketLifecycleResponseBodyRuleExpiration setDays(String days) {
this.days = days;
return this;
}
public String getDays() {
return this.days;
}
}
public static class GetBucketLifecycleResponseBodyRule extends TeaModel {
/**
* The expiration time.
*/
@NameInMap("Expiration")
public GetBucketLifecycleResponseBodyRuleExpiration expiration;
/**
* The unique ID of the rule.
*
* example:
* 1
*/
@NameInMap("ID")
public String ID;
/**
* The prefix that is applied to the rule.
*
* example:
* image
*/
@NameInMap("Prefix")
public String prefix;
/**
* The status of the rule. Valid values:
*
* - Enabled: The rule is periodically executed.
* - Disabled: The rule is ignored.
*
*
* example:
* Enabled
*/
@NameInMap("Status")
public String status;
public static GetBucketLifecycleResponseBodyRule build(java.util.Map map) throws Exception {
GetBucketLifecycleResponseBodyRule self = new GetBucketLifecycleResponseBodyRule();
return TeaModel.build(map, self);
}
public GetBucketLifecycleResponseBodyRule setExpiration(GetBucketLifecycleResponseBodyRuleExpiration expiration) {
this.expiration = expiration;
return this;
}
public GetBucketLifecycleResponseBodyRuleExpiration getExpiration() {
return this.expiration;
}
public GetBucketLifecycleResponseBodyRule setID(String ID) {
this.ID = ID;
return this;
}
public String getID() {
return this.ID;
}
public GetBucketLifecycleResponseBodyRule setPrefix(String prefix) {
this.prefix = prefix;
return this;
}
public String getPrefix() {
return this.prefix;
}
public GetBucketLifecycleResponseBodyRule setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy