public class ModifySceneDefensePolicyRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
endTime
The end time of the policy.
|
String |
name
The name of the policy.
|
String |
policyId
The ID of the policy that you want to modify.
|
Long |
startTime
The start time of the policy.
|
String |
template
The template of the policy.
|
| 构造器和说明 |
|---|
ModifySceneDefensePolicyRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifySceneDefensePolicyRequest |
build(Map<String,?> map) |
Long |
getEndTime() |
String |
getName() |
String |
getPolicyId() |
Long |
getStartTime() |
String |
getTemplate() |
ModifySceneDefensePolicyRequest |
setEndTime(Long endTime) |
ModifySceneDefensePolicyRequest |
setName(String name) |
ModifySceneDefensePolicyRequest |
setPolicyId(String policyId) |
ModifySceneDefensePolicyRequest |
setStartTime(Long startTime) |
ModifySceneDefensePolicyRequest |
setTemplate(String template) |
@NameInMap(value="EndTime") public Long endTime
The end time of the policy. The value is a UNIX timestamp. Unit: milliseconds.
This parameter is required.
example:1586016000000
@NameInMap(value="Name") public String name
The name of the policy.
This parameter is required.
example:testpolicy
@NameInMap(value="PolicyId") public String policyId
The ID of the policy that you want to modify.
You can call the DescribeSceneDefensePolicies operation to query the IDs of all policies.
This parameter is required.
example:321a-fd31-df51-****
@NameInMap(value="StartTime") public Long startTime
The start time of the policy. The value is a UNIX timestamp. Unit: milliseconds.
This parameter is required.
example:1585670400000
@NameInMap(value="Template") public String template
The template of the policy. Valid values:
This parameter is required.
example:promotion
public static ModifySceneDefensePolicyRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifySceneDefensePolicyRequest setEndTime(Long endTime)
public Long getEndTime()
public ModifySceneDefensePolicyRequest setName(String name)
public String getName()
public ModifySceneDefensePolicyRequest setPolicyId(String policyId)
public String getPolicyId()
public ModifySceneDefensePolicyRequest setStartTime(Long startTime)
public Long getStartTime()
public ModifySceneDefensePolicyRequest setTemplate(String template)
public String getTemplate()
Copyright © 2026. All rights reserved.