Class TiTaxiiDataConnector
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
-
- com.azure.resourcemanager.securityinsights.fluent.models.DataConnectorInner
-
- com.azure.resourcemanager.securityinsights.models.TiTaxiiDataConnector
-
public final class TiTaxiiDataConnector extends DataConnectorInner
Data connector to pull Threat intelligence data from TAXII 2.0/2.1 server.
-
-
Constructor Summary
Constructors Constructor Description TiTaxiiDataConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
collectionId()
Get the collectionId property: The collection id of the TAXII server.TiTaxiiDataConnectorDataTypes
dataTypes()
Get the dataTypes property: The available data types for Threat Intelligence TAXII data connector.String
friendlyName()
Get the friendlyName property: The friendly name for the TAXII server.String
password()
Get the password property: The password for the TAXII server.PollingFrequency
pollingFrequency()
Get the pollingFrequency property: The polling frequency for the TAXII server.OffsetDateTime
taxiiLookbackPeriod()
Get the taxiiLookbackPeriod property: The lookback period for the TAXII server.String
taxiiServer()
Get the taxiiServer property: The API root for the TAXII server.String
tenantId()
Get the tenantId property: The tenant id to connect to, and get the data from.String
username()
Get the username property: The userName for the TAXII server.void
validate()
Validates the instance.TiTaxiiDataConnector
withCollectionId(String collectionId)
Set the collectionId property: The collection id of the TAXII server.TiTaxiiDataConnector
withDataTypes(TiTaxiiDataConnectorDataTypes dataTypes)
Set the dataTypes property: The available data types for Threat Intelligence TAXII data connector.TiTaxiiDataConnector
withEtag(String etag)
Set the etag property: Etag of the azure resource.TiTaxiiDataConnector
withFriendlyName(String friendlyName)
Set the friendlyName property: The friendly name for the TAXII server.TiTaxiiDataConnector
withPassword(String password)
Set the password property: The password for the TAXII server.TiTaxiiDataConnector
withPollingFrequency(PollingFrequency pollingFrequency)
Set the pollingFrequency property: The polling frequency for the TAXII server.TiTaxiiDataConnector
withTaxiiLookbackPeriod(OffsetDateTime taxiiLookbackPeriod)
Set the taxiiLookbackPeriod property: The lookback period for the TAXII server.TiTaxiiDataConnector
withTaxiiServer(String taxiiServer)
Set the taxiiServer property: The API root for the TAXII server.TiTaxiiDataConnector
withTenantId(String tenantId)
Set the tenantId property: The tenant id to connect to, and get the data from.TiTaxiiDataConnector
withUsername(String username)
Set the username property: The userName for the TAXII server.TiTaxiiDataConnector
withWorkspaceId(String workspaceId)
Set the workspaceId property: The workspace id.String
workspaceId()
Get the workspaceId property: The workspace id.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
-
-
-
-
Method Detail
-
withEtag
public TiTaxiiDataConnector withEtag(String etag)
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classDataConnectorInner
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
workspaceId
public String workspaceId()
Get the workspaceId property: The workspace id.- Returns:
- the workspaceId value.
-
withWorkspaceId
public TiTaxiiDataConnector withWorkspaceId(String workspaceId)
Set the workspaceId property: The workspace id.- Parameters:
workspaceId
- the workspaceId value to set.- Returns:
- the TiTaxiiDataConnector object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: The friendly name for the TAXII server.- Returns:
- the friendlyName value.
-
withFriendlyName
public TiTaxiiDataConnector withFriendlyName(String friendlyName)
Set the friendlyName property: The friendly name for the TAXII server.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the TiTaxiiDataConnector object itself.
-
taxiiServer
public String taxiiServer()
Get the taxiiServer property: The API root for the TAXII server.- Returns:
- the taxiiServer value.
-
withTaxiiServer
public TiTaxiiDataConnector withTaxiiServer(String taxiiServer)
Set the taxiiServer property: The API root for the TAXII server.- Parameters:
taxiiServer
- the taxiiServer value to set.- Returns:
- the TiTaxiiDataConnector object itself.
-
collectionId
public String collectionId()
Get the collectionId property: The collection id of the TAXII server.- Returns:
- the collectionId value.
-
withCollectionId
public TiTaxiiDataConnector withCollectionId(String collectionId)
Set the collectionId property: The collection id of the TAXII server.- Parameters:
collectionId
- the collectionId value to set.- Returns:
- the TiTaxiiDataConnector object itself.
-
username
public String username()
Get the username property: The userName for the TAXII server.- Returns:
- the username value.
-
withUsername
public TiTaxiiDataConnector withUsername(String username)
Set the username property: The userName for the TAXII server.- Parameters:
username
- the username value to set.- Returns:
- the TiTaxiiDataConnector object itself.
-
password
public String password()
Get the password property: The password for the TAXII server.- Returns:
- the password value.
-
withPassword
public TiTaxiiDataConnector withPassword(String password)
Set the password property: The password for the TAXII server.- Parameters:
password
- the password value to set.- Returns:
- the TiTaxiiDataConnector object itself.
-
taxiiLookbackPeriod
public OffsetDateTime taxiiLookbackPeriod()
Get the taxiiLookbackPeriod property: The lookback period for the TAXII server.- Returns:
- the taxiiLookbackPeriod value.
-
withTaxiiLookbackPeriod
public TiTaxiiDataConnector withTaxiiLookbackPeriod(OffsetDateTime taxiiLookbackPeriod)
Set the taxiiLookbackPeriod property: The lookback period for the TAXII server.- Parameters:
taxiiLookbackPeriod
- the taxiiLookbackPeriod value to set.- Returns:
- the TiTaxiiDataConnector object itself.
-
pollingFrequency
public PollingFrequency pollingFrequency()
Get the pollingFrequency property: The polling frequency for the TAXII server.- Returns:
- the pollingFrequency value.
-
withPollingFrequency
public TiTaxiiDataConnector withPollingFrequency(PollingFrequency pollingFrequency)
Set the pollingFrequency property: The polling frequency for the TAXII server.- Parameters:
pollingFrequency
- the pollingFrequency value to set.- Returns:
- the TiTaxiiDataConnector object itself.
-
dataTypes
public TiTaxiiDataConnectorDataTypes dataTypes()
Get the dataTypes property: The available data types for Threat Intelligence TAXII data connector.- Returns:
- the dataTypes value.
-
withDataTypes
public TiTaxiiDataConnector withDataTypes(TiTaxiiDataConnectorDataTypes dataTypes)
Set the dataTypes property: The available data types for Threat Intelligence TAXII data connector.- Parameters:
dataTypes
- the dataTypes value to set.- Returns:
- the TiTaxiiDataConnector object itself.
-
tenantId
public String tenantId()
Get the tenantId property: The tenant id to connect to, and get the data from.- Returns:
- the tenantId value.
-
withTenantId
public TiTaxiiDataConnector withTenantId(String tenantId)
Set the tenantId property: The tenant id to connect to, and get the data from.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the TiTaxiiDataConnector object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDataConnectorInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-