Package com.vmware.nsx_policy.model
Class IdsSignature
- java.lang.Object
-
- com.vmware.nsx_policy.model.IdsSignature
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class IdsSignature extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Intrusion Detection System Signature .- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IdsSignature.Builder
Builder class forIdsSignature
.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue
__dynamicStructureFields
static java.lang.String
CATEGORIES_APPLICATION
static java.lang.String
CATEGORIES_MALWARE
static java.lang.String
CATEGORIES_VULNERABILITY
static java.lang.String
CVSS_CRITICAL
static java.lang.String
CVSS_HIGH
static java.lang.String
CVSS_LOW
static java.lang.String
CVSS_MEDIUM
static java.lang.String
CVSS_NONE
-
Constructor Summary
Constructors Modifier Constructor Description IdsSignature()
Default constructor.protected
IdsSignature(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_convertTo(java.lang.Class<T> clazz)
java.lang.String
_getCanonicalName()
static java.lang.String
_getCanonicalTypeName()
Returns the canonical type name.static com.vmware.vapi.bindings.type.StructType
_getClassType()
WARNING: Internal method, subject to change in future versions.com.vmware.vapi.data.StructValue
_getDataValue()
com.vmware.vapi.data.DataValue
_getDynamicField(java.lang.String fieldName)
java.util.Set<java.lang.String>
_getDynamicFieldNames()
com.vmware.vapi.bindings.type.StructType
_getType()
boolean
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
static IdsSignature
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.static IdsSignature
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.void
_setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
protected void
_updateDataValue(com.vmware.vapi.data.StructValue structValue)
void
_validate()
boolean
equals(java.lang.Object obj)
java.lang.String
getAction()
Signature action.java.lang.String
getAttackTarget()
Target of the signature.java.util.List<java.lang.String>
getCategories()
Possible values are:CATEGORIES_APPLICATION
CATEGORIES_MALWARE
CATEGORIES_VULNERABILITY
Represents the internal categories a signature belongs to.java.util.List<com.vmware.vapi.bindings.Structure>
getChildren()
Subtree for this type within policy tree containing nested elements.java.lang.String
getClassType()
Class type of Signature.java.lang.String
getConfidence()
Signature's confidence score.java.lang.Long
getCreateTime()
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.java.lang.String
getCreateUser()
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.java.util.List<java.lang.String>
getCves()
CVE scorejava.lang.String
getCvss()
Possible values are:CVSS_NONE
CVSS_LOW
CVSS_MEDIUM
CVSS_HIGH
CVSS_CRITICAL
Represents the cvss value of a Signature.java.lang.String
getCvssScore()
Represents the cvss value of a Signature.java.lang.String
getCvssv2()
Signature cvssv2 score.java.lang.String
getCvssv3()
Signature cvssv3 score.java.lang.String
getDescription()
Description of this resourcejava.lang.String
getDirection()
Source-destination direction.java.lang.String
getDisplayName()
Defaults to ID if not setjava.lang.Boolean
getEnable()
Flag which tells whether the signature is enabled or not.java.lang.String
getFlow()
Flow established from server, from client etc.java.lang.String
getId()
Unique identifier of this resourcejava.lang.String
getImpact()
Impact of Signature.java.lang.Long
getLastModifiedTime()
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.java.lang.String
getLastModifiedUser()
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.java.util.List<ResourceLink>
getLinks()
The server will populate this field when returing the resource.java.lang.String
getMalwareFamily()
Family of the malware tracked in the signature.java.lang.Boolean
getMarkedForDelete()
Intent objects are not directly deleted from the system when a delete is invoked on them.java.util.List<MitreAttack>
getMitreAttack()
Mitre Attack details of Signature.java.lang.String
getName()
Signature name.java.lang.String
getOriginSiteId()
This is a UUID generated by the system for knowing which site owns an object.java.lang.Boolean
getOverridden()
Global intent objects cannot be modified by the user.java.lang.String
getOwnerId()
This is a UUID generated by the system for knowing who owns this object.java.lang.String
getParentPath()
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.java.lang.String
getPath()
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.java.lang.String
getPerformanceImpact()
Performance impact of the signature.java.util.List<java.lang.String>
getPolicy()
Signature policy.java.lang.String
getProductAffected()
Product affected by this signature.java.lang.String
getProtection()
Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it.java.lang.String
getProtocol()
Protocol used in the packet analysis.java.lang.String
getRealizationId()
This is a UUID generated by the system for realizing the entity object.java.lang.String
getRelativePath()
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.java.lang.String
getRemotePath()
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.java.lang.String
getResourceType()
The type of this resource.java.lang.Long
getRevision()
The _revision property describes the current revision of the resource.java.lang.String
getRiskScore()
Risk score of signature.java.lang.String
getSchema()
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.SelfResourceLink
getSelf()
java.lang.String
getSeverity()
Represents the severity of the Signature.java.lang.String
getSignature()
Decoded Signature.java.lang.String
getSignatureId()
Represents the Signature's id.java.lang.String
getSignatureRevision()
Represents revision of the Signature.java.lang.String
getSignatureSeverity()
Signature vendor set severity of the signature rule.java.lang.Boolean
getSystemOwned()
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.java.util.List<java.lang.String>
getTag()
Vendor assigned classification tag.java.util.List<Tag>
getTags()
Opaque identifiers meaningful to the API userjava.util.List<java.lang.String>
getType()
Signature type.java.lang.String
getUniqueId()
This is a UUID generated by the GM/LM to uniquely identify entities in a federated environment.java.util.List<java.lang.String>
getUrls()
List of mitre attack URLs pertaining to signatureint
hashCode()
void
setAction(java.lang.String action)
Signature action.void
setAttackTarget(java.lang.String attackTarget)
Target of the signature.void
setCategories(java.util.List<java.lang.String> categories)
Possible values are:CATEGORIES_APPLICATION
CATEGORIES_MALWARE
CATEGORIES_VULNERABILITY
Represents the internal categories a signature belongs to.void
setChildren(java.util.List<com.vmware.vapi.bindings.Structure> children)
Subtree for this type within policy tree containing nested elements.void
setClassType(java.lang.String classType)
Class type of Signature.void
setConfidence(java.lang.String confidence)
Signature's confidence score.void
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.void
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.void
setCves(java.util.List<java.lang.String> cves)
CVE scorevoid
setCvss(java.lang.String cvss)
Possible values are:CVSS_NONE
CVSS_LOW
CVSS_MEDIUM
CVSS_HIGH
CVSS_CRITICAL
Represents the cvss value of a Signature.void
setCvssScore(java.lang.String cvssScore)
Represents the cvss value of a Signature.void
setCvssv2(java.lang.String cvssv2)
Signature cvssv2 score.void
setCvssv3(java.lang.String cvssv3)
Signature cvssv3 score.void
setDescription(java.lang.String description)
Description of this resourcevoid
setDirection(java.lang.String direction)
Source-destination direction.void
setDisplayName(java.lang.String displayName)
Defaults to ID if not setvoid
setEnable(java.lang.Boolean enable)
Flag which tells whether the signature is enabled or not.void
setFlow(java.lang.String flow)
Flow established from server, from client etc.void
setId(java.lang.String id)
Unique identifier of this resourcevoid
setImpact(java.lang.String impact)
Impact of Signature.void
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.void
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.void
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.void
setMalwareFamily(java.lang.String malwareFamily)
Family of the malware tracked in the signature.void
setMarkedForDelete(java.lang.Boolean markedForDelete)
Intent objects are not directly deleted from the system when a delete is invoked on them.void
setMitreAttack(java.util.List<MitreAttack> mitreAttack)
Mitre Attack details of Signature.void
setName(java.lang.String name)
Signature name.void
setOriginSiteId(java.lang.String originSiteId)
This is a UUID generated by the system for knowing which site owns an object.void
setOverridden(java.lang.Boolean overridden)
Global intent objects cannot be modified by the user.void
setOwnerId(java.lang.String ownerId)
This is a UUID generated by the system for knowing who owns this object.void
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.void
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.void
setPerformanceImpact(java.lang.String performanceImpact)
Performance impact of the signature.void
setPolicy(java.util.List<java.lang.String> policy)
Signature policy.void
setProductAffected(java.lang.String productAffected)
Product affected by this signature.void
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.void
setProtocol(java.lang.String protocol)
Protocol used in the packet analysis.void
setRealizationId(java.lang.String realizationId)
This is a UUID generated by the system for realizing the entity object.void
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.void
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.void
setResourceType(java.lang.String resourceType)
The type of this resource.void
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.void
setRiskScore(java.lang.String riskScore)
Risk score of signature.void
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.void
setSelf(SelfResourceLink self)
void
setSeverity(java.lang.String severity)
Represents the severity of the Signature.void
setSignature(java.lang.String signature)
Decoded Signature.void
setSignatureId(java.lang.String signatureId)
Represents the Signature's id.void
setSignatureRevision(java.lang.String signatureRevision)
Represents revision of the Signature.void
setSignatureSeverity(java.lang.String signatureSeverity)
Signature vendor set severity of the signature rule.void
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.void
setTag(java.util.List<java.lang.String> tag)
Vendor assigned classification tag.void
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API uservoid
setType(java.util.List<java.lang.String> type)
Signature type.void
setUniqueId(java.lang.String uniqueId)
This is a UUID generated by the GM/LM to uniquely identify entities in a federated environment.void
setUrls(java.util.List<java.lang.String> urls)
List of mitre attack URLs pertaining to signaturejava.lang.String
toString()
-
-
-
Field Detail
-
CATEGORIES_APPLICATION
public static final java.lang.String CATEGORIES_APPLICATION
- See Also:
- Constant Field Values
-
CATEGORIES_MALWARE
public static final java.lang.String CATEGORIES_MALWARE
- See Also:
- Constant Field Values
-
CATEGORIES_VULNERABILITY
public static final java.lang.String CATEGORIES_VULNERABILITY
- See Also:
- Constant Field Values
-
CVSS_NONE
public static final java.lang.String CVSS_NONE
- See Also:
- Constant Field Values
-
CVSS_LOW
public static final java.lang.String CVSS_LOW
- See Also:
- Constant Field Values
-
CVSS_MEDIUM
public static final java.lang.String CVSS_MEDIUM
- See Also:
- Constant Field Values
-
CVSS_HIGH
public static final java.lang.String CVSS_HIGH
- See Also:
- Constant Field Values
-
CVSS_CRITICAL
public static final java.lang.String CVSS_CRITICAL
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Method Detail
-
getLinks
public java.util.List<ResourceLink> getLinks()
The server will populate this field when returing the resource. Ignored on PUT and POST. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setLinks
public void setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource. Ignored on PUT and POST. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
links
- New value for the property.
-
getSchema
public java.lang.String getSchema()
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.- Returns:
- The current value of the property.
-
setSchema
public void 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.- Parameters:
schema
- New value for the property.
-
getSelf
public SelfResourceLink getSelf()
- Returns:
- The current value of the property.
-
setSelf
public void setSelf(SelfResourceLink self)
- Parameters:
self
- New value for the property.
-
getRevision
public java.lang.Long getRevision()
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. format: int32- Returns:
- The current value of the property.
-
setRevision
public void setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. format: int32- Parameters:
revision
- New value for the property.
-
getCreateTime
public java.lang.Long getCreateTime()
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.- Returns:
- The current value of the property.
-
setCreateTime
public void 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.- Parameters:
createTime
- New value for the property.
-
getCreateUser
public java.lang.String getCreateUser()
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.- Returns:
- The current value of the property.
-
setCreateUser
public void 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.- Parameters:
createUser
- New value for the property.
-
getLastModifiedTime
public java.lang.Long getLastModifiedTime()
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.- Returns:
- The current value of the property.
-
setLastModifiedTime
public void 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.- Parameters:
lastModifiedTime
- New value for the property.
-
getLastModifiedUser
public java.lang.String getLastModifiedUser()
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.- Returns:
- The current value of the property.
-
setLastModifiedUser
public void 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.- Parameters:
lastModifiedUser
- New value for the property.
-
getProtection
public java.lang.String getProtection()
Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super user and can modify it, but only when providing the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this entity. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setProtection
public void 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. NOT_PROTECTED - the client who retrieved the entity is allowed to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super user and can modify it, but only when providing the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this entity. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
protection
- New value for the property.
-
getSystemOwned
public java.lang.Boolean getSystemOwned()
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.- Returns:
- The current value of the property.
-
setSystemOwned
public void 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.- Parameters:
systemOwned
- New value for the property.
-
getDescription
public java.lang.String getDescription()
Description of this resource- Returns:
- The current value of the property.
-
setDescription
public void setDescription(java.lang.String description)
Description of this resource- Parameters:
description
- New value for the property.
-
getDisplayName
public java.lang.String getDisplayName()
Defaults to ID if not set- Returns:
- The current value of the property.
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
Defaults to ID if not set- Parameters:
displayName
- New value for the property.
-
getId
public java.lang.String getId()
Unique identifier of this resource- Returns:
- The current value of the property.
-
setId
public void setId(java.lang.String id)
Unique identifier of this resource- Parameters:
id
- New value for the property.
-
getResourceType
public java.lang.String getResourceType()
The type of this resource.- Returns:
- The current value of the property.
-
setResourceType
public void setResourceType(java.lang.String resourceType)
The type of this resource.- Parameters:
resourceType
- New value for the property.
-
getTags
public java.util.List<Tag> getTags()
Opaque identifiers meaningful to the API user- Returns:
- The current value of the property.
-
setTags
public void setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user- Parameters:
tags
- New value for the property.
-
getOriginSiteId
public java.lang.String getOriginSiteId()
This is a UUID generated by the system for knowing which site owns an object. This is used in NSX+. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setOriginSiteId
public void setOriginSiteId(java.lang.String originSiteId)
This is a UUID generated by the system for knowing which site owns an object. This is used in NSX+. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
originSiteId
- New value for the property.
-
getOwnerId
public java.lang.String getOwnerId()
This is a UUID generated by the system for knowing who owns this object. This is used in NSX+. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setOwnerId
public void setOwnerId(java.lang.String ownerId)
This is a UUID generated by the system for knowing who owns this object. This is used in NSX+. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ownerId
- New value for the property.
-
getParentPath
public java.lang.String getParentPath()
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.- Returns:
- The current value of the property.
-
setParentPath
public void 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.- Parameters:
parentPath
- New value for the property.
-
getPath
public java.lang.String getPath()
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.- Returns:
- The current value of the property.
-
setPath
public void 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.- Parameters:
path
- New value for the property.
-
getRealizationId
public java.lang.String getRealizationId()
This is a UUID generated by the system for realizing the entity object. In most cases this should be same as 'unique_id' of the entity. However, in some cases this can be different because of entities have migrated their unique identifier to NSX Policy intent objects later in the timeline and did not use unique_id for realization. Realization id is helpful for users to debug data path to correlate the configuration with corresponding intent. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRealizationId
public void setRealizationId(java.lang.String realizationId)
This is a UUID generated by the system for realizing the entity object. In most cases this should be same as 'unique_id' of the entity. However, in some cases this can be different because of entities have migrated their unique identifier to NSX Policy intent objects later in the timeline and did not use unique_id for realization. Realization id is helpful for users to debug data path to correlate the configuration with corresponding intent. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
realizationId
- New value for the property.
-
getRelativePath
public java.lang.String getRelativePath()
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.- Returns:
- The current value of the property.
-
setRelativePath
public void 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.- Parameters:
relativePath
- New value for the property.
-
getRemotePath
public java.lang.String getRemotePath()
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. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRemotePath
public void 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. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
remotePath
- New value for the property.
-
getUniqueId
public java.lang.String getUniqueId()
This is a UUID generated by the GM/LM to uniquely identify entities in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setUniqueId
public void setUniqueId(java.lang.String uniqueId)
This is a UUID generated by the GM/LM to uniquely identify entities in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
uniqueId
- New value for the property.
-
getChildren
public java.util.List<com.vmware.vapi.bindings.Structure> getChildren()
Subtree for this type within policy tree containing nested elements. Note that this type is applicable to be used in Hierarchical API only.- Returns:
- The current value of 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 inChildPolicyConfigResource
.
-
setChildren
public void setChildren(java.util.List<com.vmware.vapi.bindings.Structure> children)
Subtree for this type within policy tree containing nested elements. Note that this type is applicable to be used in Hierarchical API only.- Parameters:
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 inChildPolicyConfigResource
. When methods return a value of this class as a return value, the property will contain all the properties defined inChildPolicyConfigResource
.
-
getMarkedForDelete
public java.lang.Boolean getMarkedForDelete()
Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setMarkedForDelete
public void setMarkedForDelete(java.lang.Boolean markedForDelete)
Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
markedForDelete
- New value for the property.
-
getOverridden
public java.lang.Boolean getOverridden()
Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setOverridden
public void setOverridden(java.lang.Boolean overridden)
Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
overridden
- New value for the property.
-
getAction
public java.lang.String getAction()
Signature action.- Returns:
- The current value of the property.
-
setAction
public void setAction(java.lang.String action)
Signature action.- Parameters:
action
- New value for the property.
-
getAttackTarget
public java.lang.String getAttackTarget()
Target of the signature.- Returns:
- The current value of the property.
-
setAttackTarget
public void setAttackTarget(java.lang.String attackTarget)
Target of the signature.- Parameters:
attackTarget
- New value for the property.
-
getCategories
public java.util.List<java.lang.String> getCategories()
Possible values are: Represents the internal categories a signature belongs to.- Returns:
- The current value of the property.
-
setCategories
public void setCategories(java.util.List<java.lang.String> categories)
Possible values are: Represents the internal categories a signature belongs to.- Parameters:
categories
- New value for the property.
-
getClassType
public java.lang.String getClassType()
Class type of Signature.- Returns:
- The current value of the property.
-
setClassType
public void setClassType(java.lang.String classType)
Class type of Signature.- Parameters:
classType
- New value for the property.
-
getConfidence
public java.lang.String getConfidence()
Signature's confidence score.- Returns:
- The current value of the property.
-
setConfidence
public void setConfidence(java.lang.String confidence)
Signature's confidence score.- Parameters:
confidence
- New value for the property.
-
getCves
public java.util.List<java.lang.String> getCves()
CVE score- Returns:
- The current value of the property.
-
setCves
public void setCves(java.util.List<java.lang.String> cves)
CVE score- Parameters:
cves
- New value for the property.
-
getCvss
public java.lang.String getCvss()
Possible values are: Represents the cvss value of a Signature. The value is derived from cvssv3 or cvssv2 score. NONE means cvssv3/cvssv2 score as 0.0 LOW means cvssv3/cvssv2 score as 0.1-3.9 MEDIUM means cvssv3/cvssv2 score as 4.0-6.9 HIGH means cvssv3/cvssv2 score as 7.0-8.9 CRITICAL means cvssv3/cvssv2 score as 9.0-10.0- Returns:
- The current value of the property.
-
setCvss
public void setCvss(java.lang.String cvss)
Possible values are: Represents the cvss value of a Signature. The value is derived from cvssv3 or cvssv2 score. NONE means cvssv3/cvssv2 score as 0.0 LOW means cvssv3/cvssv2 score as 0.1-3.9 MEDIUM means cvssv3/cvssv2 score as 4.0-6.9 HIGH means cvssv3/cvssv2 score as 7.0-8.9 CRITICAL means cvssv3/cvssv2 score as 9.0-10.0- Parameters:
cvss
- New value for the property.
-
getCvssScore
public java.lang.String getCvssScore()
Represents the cvss value of a Signature. The value is derived from cvssv3 or cvssv2 score. If cvssv3 exists, then this is the cvssv3 score, else it is the cvssv2 score.- Returns:
- The current value of the property.
-
setCvssScore
public void setCvssScore(java.lang.String cvssScore)
Represents the cvss value of a Signature. The value is derived from cvssv3 or cvssv2 score. If cvssv3 exists, then this is the cvssv3 score, else it is the cvssv2 score.- Parameters:
cvssScore
- New value for the property.
-
getCvssv2
public java.lang.String getCvssv2()
Signature cvssv2 score.- Returns:
- The current value of the property.
-
setCvssv2
public void setCvssv2(java.lang.String cvssv2)
Signature cvssv2 score.- Parameters:
cvssv2
- New value for the property.
-
getCvssv3
public java.lang.String getCvssv3()
Signature cvssv3 score.- Returns:
- The current value of the property.
-
setCvssv3
public void setCvssv3(java.lang.String cvssv3)
Signature cvssv3 score.- Parameters:
cvssv3
- New value for the property.
-
getDirection
public java.lang.String getDirection()
Source-destination direction.- Returns:
- The current value of the property.
-
setDirection
public void setDirection(java.lang.String direction)
Source-destination direction.- Parameters:
direction
- New value for the property.
-
getEnable
public java.lang.Boolean getEnable()
Flag which tells whether the signature is enabled or not.- Returns:
- The current value of the property.
-
setEnable
public void setEnable(java.lang.Boolean enable)
Flag which tells whether the signature is enabled or not.- Parameters:
enable
- New value for the property.
-
getFlow
public java.lang.String getFlow()
Flow established from server, from client etc.- Returns:
- The current value of the property.
-
setFlow
public void setFlow(java.lang.String flow)
Flow established from server, from client etc.- Parameters:
flow
- New value for the property.
-
getImpact
public java.lang.String getImpact()
Impact of Signature.- Returns:
- The current value of the property.
-
setImpact
public void setImpact(java.lang.String impact)
Impact of Signature.- Parameters:
impact
- New value for the property.
-
getMalwareFamily
public java.lang.String getMalwareFamily()
Family of the malware tracked in the signature.- Returns:
- The current value of the property.
-
setMalwareFamily
public void setMalwareFamily(java.lang.String malwareFamily)
Family of the malware tracked in the signature.- Parameters:
malwareFamily
- New value for the property.
-
getMitreAttack
public java.util.List<MitreAttack> getMitreAttack()
Mitre Attack details of Signature.- Returns:
- The current value of the property.
-
setMitreAttack
public void setMitreAttack(java.util.List<MitreAttack> mitreAttack)
Mitre Attack details of Signature.- Parameters:
mitreAttack
- New value for the property.
-
getName
public java.lang.String getName()
Signature name.- Returns:
- The current value of the property.
-
setName
public void setName(java.lang.String name)
Signature name.- Parameters:
name
- New value for the property.
-
getPerformanceImpact
public java.lang.String getPerformanceImpact()
Performance impact of the signature.- Returns:
- The current value of the property.
-
setPerformanceImpact
public void setPerformanceImpact(java.lang.String performanceImpact)
Performance impact of the signature.- Parameters:
performanceImpact
- New value for the property.
-
getPolicy
public java.util.List<java.lang.String> getPolicy()
Signature policy.- Returns:
- The current value of the property.
-
setPolicy
public void setPolicy(java.util.List<java.lang.String> policy)
Signature policy.- Parameters:
policy
- New value for the property.
-
getProductAffected
public java.lang.String getProductAffected()
Product affected by this signature.- Returns:
- The current value of the property.
-
setProductAffected
public void setProductAffected(java.lang.String productAffected)
Product affected by this signature.- Parameters:
productAffected
- New value for the property.
-
getProtocol
public java.lang.String getProtocol()
Protocol used in the packet analysis.- Returns:
- The current value of the property.
-
setProtocol
public void setProtocol(java.lang.String protocol)
Protocol used in the packet analysis.- Parameters:
protocol
- New value for the property.
-
getRiskScore
public java.lang.String getRiskScore()
Risk score of signature.- Returns:
- The current value of the property.
-
setRiskScore
public void setRiskScore(java.lang.String riskScore)
Risk score of signature.- Parameters:
riskScore
- New value for the property.
-
getSeverity
public java.lang.String getSeverity()
Represents the severity of the Signature.- Returns:
- The current value of the property.
-
setSeverity
public void setSeverity(java.lang.String severity)
Represents the severity of the Signature.- Parameters:
severity
- New value for the property.
-
getSignature
public java.lang.String getSignature()
Decoded Signature.- Returns:
- The current value of the property.
-
setSignature
public void setSignature(java.lang.String signature)
Decoded Signature.- Parameters:
signature
- New value for the property.
-
getSignatureId
public java.lang.String getSignatureId()
Represents the Signature's id.- Returns:
- The current value of the property.
-
setSignatureId
public void setSignatureId(java.lang.String signatureId)
Represents the Signature's id.- Parameters:
signatureId
- New value for the property.
-
getSignatureRevision
public java.lang.String getSignatureRevision()
Represents revision of the Signature.- Returns:
- The current value of the property.
-
setSignatureRevision
public void setSignatureRevision(java.lang.String signatureRevision)
Represents revision of the Signature.- Parameters:
signatureRevision
- New value for the property.
-
getSignatureSeverity
public java.lang.String getSignatureSeverity()
Signature vendor set severity of the signature rule.- Returns:
- The current value of the property.
-
setSignatureSeverity
public void setSignatureSeverity(java.lang.String signatureSeverity)
Signature vendor set severity of the signature rule.- Parameters:
signatureSeverity
- New value for the property.
-
getTag
public java.util.List<java.lang.String> getTag()
Vendor assigned classification tag.- Returns:
- The current value of the property.
-
setTag
public void setTag(java.util.List<java.lang.String> tag)
Vendor assigned classification tag.- Parameters:
tag
- New value for the property.
-
getType
public java.util.List<java.lang.String> getType()
Signature type.- Returns:
- The current value of the property.
-
setType
public void setType(java.util.List<java.lang.String> type)
Signature type.- Parameters:
type
- New value for the property.
-
getUrls
public java.util.List<java.lang.String> getUrls()
List of mitre attack URLs pertaining to signature- Returns:
- The current value of the property.
-
setUrls
public void setUrls(java.util.List<java.lang.String> urls)
List of mitre attack URLs pertaining to signature- Parameters:
urls
- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName()
.- Returns:
- canonical type name
-
_newInstance
public static IdsSignature _newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.- Parameters:
structValue
- the source of the data contained in the binding object. Could contain more data than fields of this class can describe i.e. newer version of the binding object. Could be null.- Returns:
- the static bindings
StructType
-
_newInstance2
public static IdsSignature _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-