Class TIDataConnector
- 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.TIDataConnector
-
public final class TIDataConnector extends DataConnectorInner
Represents threat intelligence data connector.
-
-
Constructor Summary
Constructors Constructor Description TIDataConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TIDataConnectorDataTypes
dataTypes()
Get the dataTypes property: The available data types for the connector.String
tenantId()
Get the tenantId property: The tenant id to connect to, and get the data from.OffsetDateTime
tipLookbackPeriod()
Get the tipLookbackPeriod property: The lookback period for the feed to be imported.void
validate()
Validates the instance.TIDataConnector
withDataTypes(TIDataConnectorDataTypes dataTypes)
Set the dataTypes property: The available data types for the connector.TIDataConnector
withEtag(String etag)
Set the etag property: Etag of the azure resource.TIDataConnector
withTenantId(String tenantId)
Set the tenantId property: The tenant id to connect to, and get the data from.TIDataConnector
withTipLookbackPeriod(OffsetDateTime tipLookbackPeriod)
Set the tipLookbackPeriod property: The lookback period for the feed to be imported.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
-
-
-
-
Method Detail
-
withEtag
public TIDataConnector 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.
-
tipLookbackPeriod
public OffsetDateTime tipLookbackPeriod()
Get the tipLookbackPeriod property: The lookback period for the feed to be imported.- Returns:
- the tipLookbackPeriod value.
-
withTipLookbackPeriod
public TIDataConnector withTipLookbackPeriod(OffsetDateTime tipLookbackPeriod)
Set the tipLookbackPeriod property: The lookback period for the feed to be imported.- Parameters:
tipLookbackPeriod
- the tipLookbackPeriod value to set.- Returns:
- the TIDataConnector object itself.
-
dataTypes
public TIDataConnectorDataTypes dataTypes()
Get the dataTypes property: The available data types for the connector.- Returns:
- the dataTypes value.
-
withDataTypes
public TIDataConnector withDataTypes(TIDataConnectorDataTypes dataTypes)
Set the dataTypes property: The available data types for the connector.- Parameters:
dataTypes
- the dataTypes value to set.- Returns:
- the TIDataConnector 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 TIDataConnector 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 TIDataConnector object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDataConnectorInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-