public class AttachSceneDefenseObjectRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
objects
The object that you want to add to the policy.
|
String |
objectType
The type of the object.
|
String |
policyId
The ID of the policy.
|
| 构造器和说明 |
|---|
AttachSceneDefenseObjectRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AttachSceneDefenseObjectRequest |
build(Map<String,?> map) |
String |
getObjects() |
String |
getObjectType() |
String |
getPolicyId() |
AttachSceneDefenseObjectRequest |
setObjects(String objects) |
AttachSceneDefenseObjectRequest |
setObjectType(String objectType) |
AttachSceneDefenseObjectRequest |
setPolicyId(String policyId) |
@NameInMap(value="ObjectType") public String objectType
The type of the object. Set the value to Domain, which indicates a domain name.
This parameter is required.
example:Domain
@NameInMap(value="Objects") public String objects
The object that you want to add to the policy. Separate multiple objects with commas (,).
This parameter is required.
example:@NameInMap(value="PolicyId") public String policyId
The ID of the policy.
You can call the DescribeSceneDefensePolicies operation to query the IDs of all policies.
This parameter is required.
example:321a-fd31-df51-****
public static AttachSceneDefenseObjectRequest build(Map<String,?> map) throws Exception
Exceptionpublic AttachSceneDefenseObjectRequest setObjectType(String objectType)
public String getObjectType()
public AttachSceneDefenseObjectRequest setObjects(String objects)
public String getObjects()
public AttachSceneDefenseObjectRequest setPolicyId(String policyId)
public String getPolicyId()
Copyright © 2026. All rights reserved.