ItsmReceiver Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. ItsmReceiver
- com.
Implements
public final class ItsmReceiver
implements JsonSerializable<ItsmReceiver>
An Itsm receiver.
Constructor Summary
Constructor | Description |
---|---|
ItsmReceiver() |
Creates an instance of Itsm |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
connectionId()
Get the connection |
static
Itsm |
fromJson(JsonReader jsonReader)
Reads an instance of Itsm |
String |
name()
Get the name property: The name of the Itsm receiver. |
String |
region()
Get the region property: Region in which workspace resides. |
String |
ticketConfiguration()
Get the ticket |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Itsm |
withConnectionId(String connectionId)
Set the connection |
Itsm |
withName(String name)
Set the name property: The name of the Itsm receiver. |
Itsm |
withRegion(String region)
Set the region property: Region in which workspace resides. |
Itsm |
withTicketConfiguration(String ticketConfiguration)
Set the ticket |
Itsm |
withWorkspaceId(String workspaceId)
Set the workspace |
String |
workspaceId()
Get the workspace |
Methods inherited from java.lang.Object
Constructor Details
ItsmReceiver
public ItsmReceiver()
Creates an instance of ItsmReceiver class.
Method Details
connectionId
public String connectionId()
Get the connectionId property: Unique identification of ITSM connection among multiple defined in above workspace.
Returns:
fromJson
public static ItsmReceiver fromJson(JsonReader jsonReader)
Reads an instance of ItsmReceiver from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the Itsm receiver. Names must be unique across all receivers within an action group.
Returns:
region
public String region()
Get the region property: Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'.
Returns:
ticketConfiguration
public String ticketConfiguration()
Get the ticketConfiguration property: JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
Returns:
toJson
validate
public void validate()
Validates the instance.
withConnectionId
public ItsmReceiver withConnectionId(String connectionId)
Set the connectionId property: Unique identification of ITSM connection among multiple defined in above workspace.
Parameters:
Returns:
withName
public ItsmReceiver withName(String name)
Set the name property: The name of the Itsm receiver. Names must be unique across all receivers within an action group.
Parameters:
Returns:
withRegion
public ItsmReceiver withRegion(String region)
Set the region property: Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'.
Parameters:
Returns:
withTicketConfiguration
public ItsmReceiver withTicketConfiguration(String ticketConfiguration)
Set the ticketConfiguration property: JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
Parameters:
Returns:
withWorkspaceId
public ItsmReceiver withWorkspaceId(String workspaceId)
Set the workspaceId property: OMS LA instance identifier.
Parameters:
Returns:
workspaceId
public String workspaceId()
Get the workspaceId property: OMS LA instance identifier.
Returns:
Applies to
Azure SDK for Java