public class ModifyFullLogTtlRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
Integer |
ttl
The log storage duration of a website.
|
| 构造器和说明 |
|---|
ModifyFullLogTtlRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyFullLogTtlRequest |
build(Map<String,?> map) |
String |
getResourceGroupId() |
Integer |
getTtl() |
ModifyFullLogTtlRequest |
setResourceGroupId(String resourceGroupId) |
ModifyFullLogTtlRequest |
setTtl(Integer ttl) |
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
example:default
@NameInMap(value="Ttl") public Integer ttl
The log storage duration of a website. Valid values: 7 to 180. Unit: days.
This parameter is required.
example:30
public static ModifyFullLogTtlRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyFullLogTtlRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public ModifyFullLogTtlRequest setTtl(Integer ttl)
public Integer getTtl()
Copyright © 2026. All rights reserved.