RuleInner Class

public final class RuleInner
extends ProxyResource

Description of Rule Resource.

Constructor Summary

Constructor Description
RuleInner()

Creates an instance of RuleInner class.

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.

CorrelationFilter correlationFilter()

Get the correlationFilter property: Properties of correlationFilter.

FilterType filterType()

Get the filterType property: Filter type that is evaluated against a BrokeredMessage.

static RuleInner fromJson(JsonReader jsonReader)

Reads an instance of RuleInner from the JsonReader.

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.

SqlFilter sqlFilter()

Get the sqlFilter property: Properties of sqlFilter.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

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.

RuleInner withCorrelationFilter(CorrelationFilter correlationFilter)

Set the correlationFilter property: Properties of correlationFilter.

RuleInner withFilterType(FilterType filterType)

Set the filterType property: Filter type that is evaluated against a BrokeredMessage.

RuleInner withSqlFilter(SqlFilter sqlFilter)

Set the sqlFilter property: Properties of sqlFilter.

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:

the action value.

correlationFilter

public CorrelationFilter correlationFilter()

Get the correlationFilter property: Properties of correlationFilter.

Returns:

the correlationFilter value.

filterType

public FilterType filterType()

Get the filterType property: Filter type that is evaluated against a BrokeredMessage.

Returns:

the filterType value.

fromJson

public static RuleInner fromJson(JsonReader jsonReader)

Reads an instance of RuleInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RuleInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

RuleInner.id()

Returns:

the id value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RuleInner.name()

Returns:

the name value.

sqlFilter

public SqlFilter sqlFilter()

Get the sqlFilter property: Properties of sqlFilter.

Returns:

the sqlFilter value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RuleInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RuleInner.type()

Returns:

the type value.

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:

action - the action value to set.

Returns:

the RuleInner object itself.

withCorrelationFilter

public RuleInner withCorrelationFilter(CorrelationFilter correlationFilter)

Set the correlationFilter property: Properties of correlationFilter.

Parameters:

correlationFilter - the correlationFilter value to set.

Returns:

the RuleInner object itself.

withFilterType

public RuleInner withFilterType(FilterType filterType)

Set the filterType property: Filter type that is evaluated against a BrokeredMessage.

Parameters:

filterType - the filterType value to set.

Returns:

the RuleInner object itself.

withSqlFilter

public RuleInner withSqlFilter(SqlFilter sqlFilter)

Set the sqlFilter property: Properties of sqlFilter.

Parameters:

sqlFilter - the sqlFilter value to set.

Returns:

the RuleInner object itself.

Applies to