Class RuleManagementEventDataSource
- java.lang.Object
-
- com.microsoft.azure.management.monitor.RuleDataSource
-
- com.microsoft.azure.management.monitor.RuleManagementEventDataSource
-
public class RuleManagementEventDataSource extends RuleDataSource
A rule management event data source. The discriminator fields is always RuleManagementEventDataSource in this case.
-
-
Constructor Summary
Constructors Constructor Description RuleManagementEventDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleManagementEventClaimsDataSourceclaims()Get the claims.StringeventName()Get the event name.StringeventSource()Get the event source.Stringlevel()Get the level.StringoperationName()Get the name of the operation that should be checked for.StringresourceGroupName()Get the resource group name.StringresourceProviderName()Get the resource provider name.Stringstatus()Get the status of the operation that should be checked for.StringsubStatus()Get the substatus.RuleManagementEventDataSourcewithClaims(RuleManagementEventClaimsDataSource claims)Set the claims.RuleManagementEventDataSourcewithEventName(String eventName)Set the event name.RuleManagementEventDataSourcewithEventSource(String eventSource)Set the event source.RuleManagementEventDataSourcewithLevel(String level)Set the level.RuleManagementEventDataSourcewithOperationName(String operationName)Set the name of the operation that should be checked for.RuleManagementEventDataSourcewithResourceGroupName(String resourceGroupName)Set the resource group name.RuleManagementEventDataSourcewithResourceProviderName(String resourceProviderName)Set the resource provider name.RuleManagementEventDataSourcewithStatus(String status)Set the status of the operation that should be checked for.RuleManagementEventDataSourcewithSubStatus(String subStatus)Set the substatus.-
Methods inherited from class com.microsoft.azure.management.monitor.RuleDataSource
resourceUri, withResourceUri
-
-
-
-
Method Detail
-
eventName
public String eventName()
Get the event name.- Returns:
- the eventName value
-
withEventName
public RuleManagementEventDataSource withEventName(String eventName)
Set the event name.- Parameters:
eventName- the eventName value to set- Returns:
- the RuleManagementEventDataSource object itself.
-
eventSource
public String eventSource()
Get the event source.- Returns:
- the eventSource value
-
withEventSource
public RuleManagementEventDataSource withEventSource(String eventSource)
Set the event source.- Parameters:
eventSource- the eventSource value to set- Returns:
- the RuleManagementEventDataSource object itself.
-
level
public String level()
Get the level.- Returns:
- the level value
-
withLevel
public RuleManagementEventDataSource withLevel(String level)
Set the level.- Parameters:
level- the level value to set- Returns:
- the RuleManagementEventDataSource object itself.
-
operationName
public String operationName()
Get the name of the operation that should be checked for. If no name is provided, any operation will match.- Returns:
- the operationName value
-
withOperationName
public RuleManagementEventDataSource withOperationName(String operationName)
Set the name of the operation that should be checked for. If no name is provided, any operation will match.- Parameters:
operationName- the operationName value to set- Returns:
- the RuleManagementEventDataSource object itself.
-
resourceGroupName
public String resourceGroupName()
Get the resource group name.- Returns:
- the resourceGroupName value
-
withResourceGroupName
public RuleManagementEventDataSource withResourceGroupName(String resourceGroupName)
Set the resource group name.- Parameters:
resourceGroupName- the resourceGroupName value to set- Returns:
- the RuleManagementEventDataSource object itself.
-
resourceProviderName
public String resourceProviderName()
Get the resource provider name.- Returns:
- the resourceProviderName value
-
withResourceProviderName
public RuleManagementEventDataSource withResourceProviderName(String resourceProviderName)
Set the resource provider name.- Parameters:
resourceProviderName- the resourceProviderName value to set- Returns:
- the RuleManagementEventDataSource object itself.
-
status
public String status()
Get the status of the operation that should be checked for. If no status is provided, any status will match.- Returns:
- the status value
-
withStatus
public RuleManagementEventDataSource withStatus(String status)
Set the status of the operation that should be checked for. If no status is provided, any status will match.- Parameters:
status- the status value to set- Returns:
- the RuleManagementEventDataSource object itself.
-
subStatus
public String subStatus()
Get the substatus.- Returns:
- the subStatus value
-
withSubStatus
public RuleManagementEventDataSource withSubStatus(String subStatus)
Set the substatus.- Parameters:
subStatus- the subStatus value to set- Returns:
- the RuleManagementEventDataSource object itself.
-
claims
public RuleManagementEventClaimsDataSource claims()
Get the claims.- Returns:
- the claims value
-
withClaims
public RuleManagementEventDataSource withClaims(RuleManagementEventClaimsDataSource claims)
Set the claims.- Parameters:
claims- the claims value to set- Returns:
- the RuleManagementEventDataSource object itself.
-
-