com.aliyun.sdk.service.cloud_siem20220616.models.DescribeEntityInfoRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-cloud_siem20220616 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloud_siem20220616.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeEntityInfoRequest} extends {@link RequestModel}
*
* DescribeEntityInfoRequest
*/
public class DescribeEntityInfoRequest extends Request {
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("EntityId")
private Long entityId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("EntityIdentity")
private String entityIdentity;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("IncidentUuid")
private String incidentUuid;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("RoleFor")
private Long roleFor;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("RoleType")
private Integer roleType;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("SophonTaskId")
private String sophonTaskId;
private DescribeEntityInfoRequest(Builder builder) {
super(builder);
this.entityId = builder.entityId;
this.entityIdentity = builder.entityIdentity;
this.incidentUuid = builder.incidentUuid;
this.regionId = builder.regionId;
this.roleFor = builder.roleFor;
this.roleType = builder.roleType;
this.sophonTaskId = builder.sophonTaskId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeEntityInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return entityId
*/
public Long getEntityId() {
return this.entityId;
}
/**
* @return entityIdentity
*/
public String getEntityIdentity() {
return this.entityIdentity;
}
/**
* @return incidentUuid
*/
public String getIncidentUuid() {
return this.incidentUuid;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return roleFor
*/
public Long getRoleFor() {
return this.roleFor;
}
/**
* @return roleType
*/
public Integer getRoleType() {
return this.roleType;
}
/**
* @return sophonTaskId
*/
public String getSophonTaskId() {
return this.sophonTaskId;
}
public static final class Builder extends Request.Builder {
private Long entityId;
private String entityIdentity;
private String incidentUuid;
private String regionId;
private Long roleFor;
private Integer roleType;
private String sophonTaskId;
private Builder() {
super();
}
private Builder(DescribeEntityInfoRequest request) {
super(request);
this.entityId = request.entityId;
this.entityIdentity = request.entityIdentity;
this.incidentUuid = request.incidentUuid;
this.regionId = request.regionId;
this.roleFor = request.roleFor;
this.roleType = request.roleType;
this.sophonTaskId = request.sophonTaskId;
}
/**
* The logical ID of the entity.
*/
public Builder entityId(Long entityId) {
this.putBodyParameter("EntityId", entityId);
this.entityId = entityId;
return this;
}
/**
* The feature value of the entity. Fuzzy match is supported.
*/
public Builder entityIdentity(String entityIdentity) {
this.putBodyParameter("EntityIdentity", entityIdentity);
this.entityIdentity = entityIdentity;
return this;
}
/**
* The UUID of the event.
*/
public Builder incidentUuid(String incidentUuid) {
this.putBodyParameter("IncidentUuid", incidentUuid);
this.incidentUuid = incidentUuid;
return this;
}
/**
* The region in which the data management center of the threat analysis feature resides. Specify this parameter based on the regions in which your assets reside. Valid values:
*
*
* * cn-hangzhou: Your assets reside in regions in China.
* * ap-southeast-1: Your assets reside in regions outside China.
*/
public Builder regionId(String regionId) {
this.putBodyParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* The ID of the account that you switch from the management account.
*/
public Builder roleFor(Long roleFor) {
this.putBodyParameter("RoleFor", roleFor);
this.roleFor = roleFor;
return this;
}
/**
* The type of the view. Valid values:
*
* - 0: the current Alibaba Cloud account
* - 1: the global account
*/
public Builder roleType(Integer roleType) {
this.putBodyParameter("RoleType", roleType);
this.roleType = roleType;
return this;
}
/**
* The ID of the SOAR handling policy.
*/
public Builder sophonTaskId(String sophonTaskId) {
this.putBodyParameter("SophonTaskId", sophonTaskId);
this.sophonTaskId = sophonTaskId;
return this;
}
@Override
public DescribeEntityInfoRequest build() {
return new DescribeEntityInfoRequest(this);
}
}
}