public class CreateSceneDefensePolicyRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
endTime
The end time of the policy.
|
String |
name
The name of the policy.
|
Long |
startTime
The start time of the policy.
|
String |
template
The template of the policy.
|
| 构造器和说明 |
|---|
CreateSceneDefensePolicyRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateSceneDefensePolicyRequest |
build(Map<String,?> map) |
Long |
getEndTime() |
String |
getName() |
Long |
getStartTime() |
String |
getTemplate() |
CreateSceneDefensePolicyRequest |
setEndTime(Long endTime) |
CreateSceneDefensePolicyRequest |
setName(String name) |
CreateSceneDefensePolicyRequest |
setStartTime(Long startTime) |
CreateSceneDefensePolicyRequest |
setTemplate(String template) |
@NameInMap(value="EndTime") public Long endTime
The end time of the policy. This value is a UNIX timestamp. Units: 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="StartTime") public Long startTime
The start time of the policy. This value is a UNIX timestamp. Units: 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 CreateSceneDefensePolicyRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateSceneDefensePolicyRequest setEndTime(Long endTime)
public Long getEndTime()
public CreateSceneDefensePolicyRequest setName(String name)
public String getName()
public CreateSceneDefensePolicyRequest setStartTime(Long startTime)
public Long getStartTime()
public CreateSceneDefensePolicyRequest setTemplate(String template)
public String getTemplate()
Copyright © 2026. All rights reserved.