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