public static final class DescribeLogstoreStorageResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeLogstoreStorageResponseBody |
build() |
DescribeLogstoreStorageResponseBody.Builder |
logstore(String logstore)
The name of the dedicated Logstore that is used to store full logs of Security Center.
|
DescribeLogstoreStorageResponseBody.Builder |
preserve(Long preserve)
The purchased log storage capacity, in GB.
|
DescribeLogstoreStorageResponseBody.Builder |
requestId(String requestId)
The ID of the request, which is used to locate and troubleshoot issues.
|
DescribeLogstoreStorageResponseBody.Builder |
ttl(Integer ttl)
The number of days during which logs can be retained.
|
DescribeLogstoreStorageResponseBody.Builder |
used(Long used)
The used log storage capacity, in GB.
|
DescribeLogstoreStorageResponseBody.Builder |
userProject(String userProject)
The name of the dedicated Project that is used to store full logs of Security Center.
|
public DescribeLogstoreStorageResponseBody.Builder logstore(String logstore)
The name of the dedicated Logstore that is used to store full logs of Security Center. The value is fixed as sas-log.
example:sas-log
public DescribeLogstoreStorageResponseBody.Builder preserve(Long preserve)
The purchased log storage capacity, in GB.
example:12240
public DescribeLogstoreStorageResponseBody.Builder requestId(String requestId)
The ID of the request, which is used to locate and troubleshoot issues.
example:25EC270F-5783-4416-AD7C-1EDF063A039C
public DescribeLogstoreStorageResponseBody.Builder ttl(Integer ttl)
The number of days during which logs can be retained. The value is fixed as 180, which indicates that logs can be retained for 180 days.
example:You are not allowed to change the value of this parameter.
180
public DescribeLogstoreStorageResponseBody.Builder used(Long used)
The used log storage capacity, in GB.
example:335
public DescribeLogstoreStorageResponseBody.Builder userProject(String userProject)
The name of the dedicated Project that is used to store full logs of Security Center.
example:sas-log-XXXX-cn-hangzhou
public DescribeLogstoreStorageResponseBody build()
Copyright © 2026. All rights reserved.