Class ItsmReceiver
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.ItsmReceiver
-
public final class ItsmReceiver extends Object
An Itsm receiver.
-
-
Constructor Summary
Constructors Constructor Description ItsmReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconnectionId()Get the connectionId property: Unique identification of ITSM connection among multiple defined in above workspace.Stringname()Get the name property: The name of the Itsm receiver.Stringregion()Get the region property: Region in which workspace resides.StringticketConfiguration()Get the ticketConfiguration property: JSON blob for the configurations of the ITSM action.voidvalidate()Validates the instance.ItsmReceiverwithConnectionId(String connectionId)Set the connectionId property: Unique identification of ITSM connection among multiple defined in above workspace.ItsmReceiverwithName(String name)Set the name property: The name of the Itsm receiver.ItsmReceiverwithRegion(String region)Set the region property: Region in which workspace resides.ItsmReceiverwithTicketConfiguration(String ticketConfiguration)Set the ticketConfiguration property: JSON blob for the configurations of the ITSM action.ItsmReceiverwithWorkspaceId(String workspaceId)Set the workspaceId property: OMS LA instance identifier.StringworkspaceId()Get the workspaceId property: OMS LA instance identifier.
-
-
-
Method Detail
-
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:
- the name value.
-
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:
name- the name value to set.- Returns:
- the ItsmReceiver object itself.
-
workspaceId
public String workspaceId()
Get the workspaceId property: OMS LA instance identifier.- Returns:
- the workspaceId value.
-
withWorkspaceId
public ItsmReceiver withWorkspaceId(String workspaceId)
Set the workspaceId property: OMS LA instance identifier.- Parameters:
workspaceId- the workspaceId value to set.- Returns:
- the ItsmReceiver object itself.
-
connectionId
public String connectionId()
Get the connectionId property: Unique identification of ITSM connection among multiple defined in above workspace.- Returns:
- the connectionId value.
-
withConnectionId
public ItsmReceiver withConnectionId(String connectionId)
Set the connectionId property: Unique identification of ITSM connection among multiple defined in above workspace.- Parameters:
connectionId- the connectionId value to set.- Returns:
- the ItsmReceiver object itself.
-
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:
- the ticketConfiguration value.
-
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:
ticketConfiguration- the ticketConfiguration value to set.- Returns:
- the ItsmReceiver object itself.
-
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:
- the region value.
-
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:
region- the region value to set.- Returns:
- the ItsmReceiver object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-