Class WorkItemCreateConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.applicationinsights.models.WorkItemCreateConfiguration
-
public final class WorkItemCreateConfiguration extends Object
Work item configuration creation payload.
-
-
Constructor Summary
Constructors Constructor Description WorkItemCreateConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
connectorDataConfiguration()
Get the connectorDataConfiguration property: Serialized JSON object for detailed properties.String
connectorId()
Get the connectorId property: Unique connector id.void
validate()
Validates the instance.Boolean
validateOnly()
Get the validateOnly property: Boolean indicating validate only.WorkItemCreateConfiguration
withConnectorDataConfiguration(String connectorDataConfiguration)
Set the connectorDataConfiguration property: Serialized JSON object for detailed properties.WorkItemCreateConfiguration
withConnectorId(String connectorId)
Set the connectorId property: Unique connector id.WorkItemCreateConfiguration
withValidateOnly(Boolean validateOnly)
Set the validateOnly property: Boolean indicating validate only.WorkItemCreateConfiguration
withWorkItemProperties(Map<String,String> workItemProperties)
Set the workItemProperties property: Custom work item properties.Map<String,String>
workItemProperties()
Get the workItemProperties property: Custom work item properties.
-
-
-
Method Detail
-
connectorId
public String connectorId()
Get the connectorId property: Unique connector id.- Returns:
- the connectorId value.
-
withConnectorId
public WorkItemCreateConfiguration withConnectorId(String connectorId)
Set the connectorId property: Unique connector id.- Parameters:
connectorId
- the connectorId value to set.- Returns:
- the WorkItemCreateConfiguration object itself.
-
connectorDataConfiguration
public String 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
public Boolean validateOnly()
Get the validateOnly property: Boolean indicating validate only.- Returns:
- the validateOnly value.
-
withValidateOnly
public WorkItemCreateConfiguration withValidateOnly(Boolean validateOnly)
Set the validateOnly property: Boolean indicating validate only.- Parameters:
validateOnly
- the validateOnly value to set.- Returns:
- the WorkItemCreateConfiguration object itself.
-
workItemProperties
public Map<String,String> workItemProperties()
Get the workItemProperties property: Custom work item properties.- Returns:
- the workItemProperties value.
-
withWorkItemProperties
public WorkItemCreateConfiguration withWorkItemProperties(Map<String,String> workItemProperties)
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.
-
-