Class WorkItemCreateConfiguration
java.lang.Object
com.azure.resourcemanager.applicationinsights.models.WorkItemCreateConfiguration
Work item configuration creation payload.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectorDataConfiguration property: Serialized JSON object for detailed properties.Get the connectorId property: Unique connector id.void
validate()
Validates the instance.Get the validateOnly property: Boolean indicating validate only.withConnectorDataConfiguration
(String connectorDataConfiguration) Set the connectorDataConfiguration property: Serialized JSON object for detailed properties.withConnectorId
(String connectorId) Set the connectorId property: Unique connector id.withValidateOnly
(Boolean validateOnly) Set the validateOnly property: Boolean indicating validate only.withWorkItemProperties
(Map<String, String> workItemProperties) Set the workItemProperties property: Custom work item properties.Get the workItemProperties property: Custom work item properties.
-
Constructor Details
-
WorkItemCreateConfiguration
public WorkItemCreateConfiguration()
-
-
Method Details
-
connectorId
Get the connectorId property: Unique connector id.- Returns:
- the connectorId value.
-
withConnectorId
Set the connectorId property: Unique connector id.- Parameters:
connectorId
- the connectorId value to set.- Returns:
- the WorkItemCreateConfiguration object itself.
-
connectorDataConfiguration
Get the connectorDataConfiguration property: Serialized JSON object for detailed properties.- Returns:
- the connectorDataConfiguration value.
-
withConnectorDataConfiguration
public WorkItemCreateConfiguration withConnectorDataConfiguration(String connectorDataConfiguration) Set the connectorDataConfiguration property: Serialized JSON object for detailed properties.- Parameters:
connectorDataConfiguration
- the connectorDataConfiguration value to set.- Returns:
- the WorkItemCreateConfiguration object itself.
-
validateOnly
Get the validateOnly property: Boolean indicating validate only.- Returns:
- the validateOnly value.
-
withValidateOnly
Set the validateOnly property: Boolean indicating validate only.- Parameters:
validateOnly
- the validateOnly value to set.- Returns:
- the WorkItemCreateConfiguration object itself.
-
workItemProperties
Get the workItemProperties property: Custom work item properties.- Returns:
- the workItemProperties value.
-
withWorkItemProperties
Set the workItemProperties property: Custom work item properties.- Parameters:
workItemProperties
- the workItemProperties value to set.- Returns:
- the WorkItemCreateConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-