public static final class IdsSignature.Builder
extends java.lang.Object
IdsSignature
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
IdsSignature . |
Modifier and Type | Method and Description |
---|---|
IdsSignature |
build() |
IdsSignature.Builder |
setAction(java.lang.String action)
Signature action.
|
IdsSignature.Builder |
setAttackTarget(java.lang.String attackTarget)
Target of the signature.
|
IdsSignature.Builder |
setCategories(java.util.List<java.lang.String> categories)
Possible values are:
IdsSignature.CATEGORIES_APPLICATION
IdsSignature.CATEGORIES_MALWARE
IdsSignature.CATEGORIES_VULNERABILITY
Represents the internal categories a signature belongs to. |
IdsSignature.Builder |
setChildren(java.util.List<com.vmware.vapi.bindings.Structure> children)
Subtree for this type within policy tree containing nested elements.
|
IdsSignature.Builder |
setClassType(java.lang.String classType)
Class type of Signature.
|
IdsSignature.Builder |
setConfidence(java.lang.String confidence)
Signature's confidence score.
|
IdsSignature.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IdsSignature.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IdsSignature.Builder |
setCves(java.util.List<java.lang.String> cves)
CVE score
|
IdsSignature.Builder |
setCvss(java.lang.String cvss)
Possible values are:
IdsSignature.CVSS_NONE IdsSignature.CVSS_LOW IdsSignature.CVSS_MEDIUM IdsSignature.CVSS_HIGH IdsSignature.CVSS_CRITICAL Represents
the cvss value of a Signature. |
IdsSignature.Builder |
setCvssScore(java.lang.String cvssScore)
Represents the cvss value of a Signature.
|
IdsSignature.Builder |
setCvssv2(java.lang.String cvssv2)
Signature cvssv2 score.
|
IdsSignature.Builder |
setCvssv3(java.lang.String cvssv3)
Signature cvssv3 score.
|
IdsSignature.Builder |
setDescription(java.lang.String description)
Description of this resource
|
IdsSignature.Builder |
setDirection(java.lang.String direction)
Source-destination direction.
|
IdsSignature.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
IdsSignature.Builder |
setEnable(java.lang.Boolean enable)
Flag which tells whether the signature is enabled or not.
|
IdsSignature.Builder |
setFlow(java.lang.String flow)
Flow established from server, from client etc.
|
IdsSignature.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
IdsSignature.Builder |
setImpact(java.lang.String impact)
Impact of Signature.
|
IdsSignature.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IdsSignature.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IdsSignature.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
IdsSignature.Builder |
setMalwareFamily(java.lang.String malwareFamily)
Family of the malware tracked in the signature.
|
IdsSignature.Builder |
setMarkedForDelete(java.lang.Boolean markedForDelete)
Intent objects are not directly deleted from the system when a delete is invoked
on them.
|
IdsSignature.Builder |
setMitreAttack(java.util.List<MitreAttack> mitreAttack)
Mitre Attack details of Signature.
|
IdsSignature.Builder |
setName(java.lang.String name)
Signature name.
|
IdsSignature.Builder |
setOriginSiteId(java.lang.String originSiteId)
This is a UUID generated by the system for knowing which site owns an object.
|
IdsSignature.Builder |
setOverridden(java.lang.Boolean overridden)
Global intent objects cannot be modified by the user.
|
IdsSignature.Builder |
setOwnerId(java.lang.String ownerId)
This is a UUID generated by the system for knowing who owns this object.
|
IdsSignature.Builder |
setParentPath(java.lang.String parentPath)
Path of its parent
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IdsSignature.Builder |
setPath(java.lang.String path)
Absolute path of this object
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IdsSignature.Builder |
setPerformanceImpact(java.lang.String performanceImpact)
Performance impact of the signature.
|
IdsSignature.Builder |
setPolicy(java.util.List<java.lang.String> policy)
Signature policy.
|
IdsSignature.Builder |
setProductAffected(java.lang.String productAffected)
Product affected by this signature.
|
IdsSignature.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
IdsSignature.Builder |
setProtocol(java.lang.String protocol)
Protocol used in the packet analysis.
|
IdsSignature.Builder |
setRealizationId(java.lang.String realizationId)
This is a UUID generated by the system for realizing the entity object.
|
IdsSignature.Builder |
setRelativePath(java.lang.String relativePath)
Path relative from its parent
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IdsSignature.Builder |
setRemotePath(java.lang.String remotePath)
This is the path of the object on the local managers when queried on the NSX+
service, and path of the object on NSX+ service when queried from the local
managers.
|
IdsSignature.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
IdsSignature.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
IdsSignature.Builder |
setRiskScore(java.lang.String riskScore)
Risk score of signature.
|
IdsSignature.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IdsSignature.Builder |
setSelf(SelfResourceLink self) |
IdsSignature.Builder |
setSeverity(java.lang.String severity)
Represents the severity of the Signature.
|
IdsSignature.Builder |
setSignature(java.lang.String signature)
Decoded Signature.
|
IdsSignature.Builder |
setSignatureId(java.lang.String signatureId)
Represents the Signature's id.
|
IdsSignature.Builder |
setSignatureRevision(java.lang.String signatureRevision)
Represents revision of the Signature.
|
IdsSignature.Builder |
setSignatureSeverity(java.lang.String signatureSeverity)
Signature vendor set severity of the signature rule.
|
IdsSignature.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IdsSignature.Builder |
setTag(java.util.List<java.lang.String> tag)
Vendor assigned classification tag.
|
IdsSignature.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
IdsSignature.Builder |
setType(java.util.List<java.lang.String> type)
Signature type.
|
IdsSignature.Builder |
setUniqueId(java.lang.String uniqueId)
This is a UUID generated by the GM/LM to uniquely identify entities in a
federated environment.
|
IdsSignature.Builder |
setUrls(java.util.List<java.lang.String> urls)
List of mitre attack URLs pertaining to signature
|
public Builder()
IdsSignature
.public IdsSignature.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public IdsSignature.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public IdsSignature.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public IdsSignature.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public IdsSignature.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public IdsSignature.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public IdsSignature.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public IdsSignature.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public IdsSignature.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public IdsSignature.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public IdsSignature.Builder setDescription(java.lang.String description)
description
- New value for the property.public IdsSignature.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public IdsSignature.Builder setId(java.lang.String id)
id
- New value for the property.public IdsSignature.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public IdsSignature.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public IdsSignature.Builder setOriginSiteId(java.lang.String originSiteId)
originSiteId
- New value for the property.public IdsSignature.Builder setOwnerId(java.lang.String ownerId)
ownerId
- New value for the property.public IdsSignature.Builder setParentPath(java.lang.String parentPath)
parentPath
- New value for the property.public IdsSignature.Builder setPath(java.lang.String path)
path
- New value for the property.public IdsSignature.Builder setRealizationId(java.lang.String realizationId)
realizationId
- New value for the property.public IdsSignature.Builder setRelativePath(java.lang.String relativePath)
relativePath
- New value for the property.public IdsSignature.Builder setRemotePath(java.lang.String remotePath)
remotePath
- New value for the property.public IdsSignature.Builder setUniqueId(java.lang.String uniqueId)
uniqueId
- New value for the property.public IdsSignature.Builder setChildren(java.util.List<com.vmware.vapi.bindings.Structure> children)
children
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in ChildPolicyConfigResource
. When methods return a
value of this class as a return value, the property will contain all the
properties defined in ChildPolicyConfigResource
.public IdsSignature.Builder setMarkedForDelete(java.lang.Boolean markedForDelete)
markedForDelete
- New value for the property.public IdsSignature.Builder setOverridden(java.lang.Boolean overridden)
overridden
- New value for the property.public IdsSignature.Builder setAction(java.lang.String action)
action
- New value for the property.public IdsSignature.Builder setAttackTarget(java.lang.String attackTarget)
attackTarget
- New value for the property.public IdsSignature.Builder setCategories(java.util.List<java.lang.String> categories)
categories
- New value for the property.public IdsSignature.Builder setClassType(java.lang.String classType)
classType
- New value for the property.public IdsSignature.Builder setConfidence(java.lang.String confidence)
confidence
- New value for the property.public IdsSignature.Builder setCves(java.util.List<java.lang.String> cves)
cves
- New value for the property.public IdsSignature.Builder setCvss(java.lang.String cvss)
cvss
- New value for the property.public IdsSignature.Builder setCvssScore(java.lang.String cvssScore)
cvssScore
- New value for the property.public IdsSignature.Builder setCvssv2(java.lang.String cvssv2)
cvssv2
- New value for the property.public IdsSignature.Builder setCvssv3(java.lang.String cvssv3)
cvssv3
- New value for the property.public IdsSignature.Builder setDirection(java.lang.String direction)
direction
- New value for the property.public IdsSignature.Builder setEnable(java.lang.Boolean enable)
enable
- New value for the property.public IdsSignature.Builder setFlow(java.lang.String flow)
flow
- New value for the property.public IdsSignature.Builder setImpact(java.lang.String impact)
impact
- New value for the property.public IdsSignature.Builder setMalwareFamily(java.lang.String malwareFamily)
malwareFamily
- New value for the property.public IdsSignature.Builder setMitreAttack(java.util.List<MitreAttack> mitreAttack)
mitreAttack
- New value for the property.public IdsSignature.Builder setName(java.lang.String name)
name
- New value for the property.public IdsSignature.Builder setPerformanceImpact(java.lang.String performanceImpact)
performanceImpact
- New value for the property.public IdsSignature.Builder setPolicy(java.util.List<java.lang.String> policy)
policy
- New value for the property.public IdsSignature.Builder setProductAffected(java.lang.String productAffected)
productAffected
- New value for the property.public IdsSignature.Builder setProtocol(java.lang.String protocol)
protocol
- New value for the property.public IdsSignature.Builder setRiskScore(java.lang.String riskScore)
riskScore
- New value for the property.public IdsSignature.Builder setSeverity(java.lang.String severity)
severity
- New value for the property.public IdsSignature.Builder setSignature(java.lang.String signature)
signature
- New value for the property.public IdsSignature.Builder setSignatureId(java.lang.String signatureId)
signatureId
- New value for the property.public IdsSignature.Builder setSignatureRevision(java.lang.String signatureRevision)
signatureRevision
- New value for the property.public IdsSignature.Builder setSignatureSeverity(java.lang.String signatureSeverity)
signatureSeverity
- New value for the property.public IdsSignature.Builder setTag(java.util.List<java.lang.String> tag)
tag
- New value for the property.public IdsSignature.Builder setType(java.util.List<java.lang.String> type)
type
- New value for the property.public IdsSignature.Builder setUrls(java.util.List<java.lang.String> urls)
urls
- New value for the property.public IdsSignature build()