RuleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. servicebus. fluent. models. RuleInner
- com.
- com.
public final class RuleInner
extends ProxyResource
Description of Rule Resource.
Constructor Summary
Constructor | Description |
---|---|
RuleInner() |
Creates an instance of Rule |
Method Summary
Modifier and Type | Method and Description |
---|---|
Action |
action()
Get the action property: Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression. |
Correlation |
correlationFilter()
Get the correlation |
Filter |
filterType()
Get the filter |
static
Rule |
fromJson(JsonReader jsonReader)
Reads an instance of Rule |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
location()
Get the location property: The geo-location where the resource lives. |
String |
name()
Get the name property: The name of the resource. |
Sql |
sqlFilter()
Get the sql |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Rule |
withAction(Action action)
Set the action property: Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression. |
Rule |
withCorrelationFilter(CorrelationFilter correlationFilter)
Set the correlation |
Rule |
withFilterType(FilterType filterType)
Set the filter |
Rule |
withSqlFilter(SqlFilter sqlFilter)
Set the sql |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RuleInner
public RuleInner()
Creates an instance of RuleInner class.
Method Details
action
public Action action()
Get the action property: Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
Returns:
correlationFilter
public CorrelationFilter correlationFilter()
Get the correlationFilter property: Properties of correlationFilter.
Returns:
filterType
public FilterType filterType()
Get the filterType property: Filter type that is evaluated against a BrokeredMessage.
Returns:
fromJson
public static RuleInner fromJson(JsonReader jsonReader)
Reads an instance of RuleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RuleInner.id()Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RuleInner.name()Returns:
sqlFilter
public SqlFilter sqlFilter()
Get the sqlFilter property: Properties of sqlFilter.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system meta data relating to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RuleInner.type()Returns:
validate
public void validate()
Validates the instance.
withAction
public RuleInner withAction(Action action)
Set the action property: Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
Parameters:
Returns:
withCorrelationFilter
public RuleInner withCorrelationFilter(CorrelationFilter correlationFilter)
Set the correlationFilter property: Properties of correlationFilter.
Parameters:
Returns:
withFilterType
public RuleInner withFilterType(FilterType filterType)
Set the filterType property: Filter type that is evaluated against a BrokeredMessage.
Parameters:
Returns:
withSqlFilter
public RuleInner withSqlFilter(SqlFilter sqlFilter)
Set the sqlFilter property: Properties of sqlFilter.
Parameters:
Returns: