Class DataConnectorDataTypeCommon
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.DataConnectorDataTypeCommon
-
- Direct Known Subclasses:
AwsCloudTrailDataConnectorDataTypesLogs
,AwsS3DataConnectorDataTypesLogs
,Dynamics365DataConnectorDataTypesDynamics365CdsActivities
,MstiDataConnectorDataTypesBingSafetyPhishingUrl
,MstiDataConnectorDataTypesMicrosoftEmergingThreatFeed
,MtpDataConnectorDataTypesIncidents
,Office365ProjectConnectorDataTypesLogs
,OfficeDataConnectorDataTypesExchange
,OfficeDataConnectorDataTypesSharePoint
,OfficeDataConnectorDataTypesTeams
,OfficePowerBIConnectorDataTypesLogs
,TIDataConnectorDataTypesIndicators
,TiTaxiiDataConnectorDataTypesTaxiiClient
public class DataConnectorDataTypeCommon extends Object
Common field for data type in data connectors.
-
-
Constructor Summary
Constructors Constructor Description DataConnectorDataTypeCommon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTypeState
state()
Get the state property: Describe whether this data type connection is enabled or not.void
validate()
Validates the instance.DataConnectorDataTypeCommon
withState(DataTypeState state)
Set the state property: Describe whether this data type connection is enabled or not.
-
-
-
Method Detail
-
state
public DataTypeState state()
Get the state property: Describe whether this data type connection is enabled or not.- Returns:
- the state value.
-
withState
public DataConnectorDataTypeCommon withState(DataTypeState state)
Set the state property: Describe whether this data type connection is enabled or not.- Parameters:
state
- the state value to set.- Returns:
- the DataConnectorDataTypeCommon object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-