com.aliyun.ens20171110.models.GetOssUsageDataRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class GetOssUsageDataRequest extends TeaModel {
/**
* The name of the logical Object Storage Service (OSS) bucket.
*
* example:
* ens-sink-bucketzyp1656903494
*/
@NameInMap("Bucket")
public String bucket;
/**
* The end of the time range to query. The time must be in UTC. Format: 2010-01-21T09:50:23Z.
* This parameter is required.
*
* example:
* 2022-01-12T00:00:00Z
*/
@NameInMap("EndTime")
public String endTime;
/**
* The aggregation granularity. Unit: minutes.
* Default value: 5. Valid values: 5 to 1440.
*
* example:
* 10
*/
@NameInMap("Period")
public String period;
/**
* The beginning of the time range to query. The time must be in UTC. Format: 2010-01-21T09:50:23Z.
* This parameter is required.
*
* example:
* 2022-01-11T00:00:00Z
*/
@NameInMap("StartTime")
public String startTime;
public static GetOssUsageDataRequest build(java.util.Map map) throws Exception {
GetOssUsageDataRequest self = new GetOssUsageDataRequest();
return TeaModel.build(map, self);
}
public GetOssUsageDataRequest setBucket(String bucket) {
this.bucket = bucket;
return this;
}
public String getBucket() {
return this.bucket;
}
public GetOssUsageDataRequest setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
public String getEndTime() {
return this.endTime;
}
public GetOssUsageDataRequest setPeriod(String period) {
this.period = period;
return this;
}
public String getPeriod() {
return this.period;
}
public GetOssUsageDataRequest setStartTime(String startTime) {
this.startTime = startTime;
return this;
}
public String getStartTime() {
return this.startTime;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy