次の方法で共有


RoutingEnrichments Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.RoutingEnrichments

Implements

public final class RoutingEnrichments
implements JsonSerializable<RoutingEnrichments>

The RoutingEnrichments model.

Constructor Summary

Constructor Description
RoutingEnrichments()

Creates an instance of RoutingEnrichments class.

Method Summary

Modifier and Type Method and Description
List<DynamicRoutingEnrichment> dynamic()

Get the dynamic property: The dynamic property.

static RoutingEnrichments fromJson(JsonReader jsonReader)

Reads an instance of RoutingEnrichments from the JsonReader.

List<StaticRoutingEnrichment> staticProperty()

Get the staticProperty property: The static property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RoutingEnrichments withDynamic(List<DynamicRoutingEnrichment> dynamic)

Set the dynamic property: The dynamic property.

RoutingEnrichments withStaticProperty(List<StaticRoutingEnrichment> staticProperty)

Set the staticProperty property: The static property.

Methods inherited from java.lang.Object

Constructor Details

RoutingEnrichments

public RoutingEnrichments()

Creates an instance of RoutingEnrichments class.

Method Details

dynamic

public List<DynamicRoutingEnrichment> dynamic()

Get the dynamic property: The dynamic property.

Returns:

the dynamic value.

fromJson

public static RoutingEnrichments fromJson(JsonReader jsonReader)

Reads an instance of RoutingEnrichments from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the RoutingEnrichments.

staticProperty

public List<StaticRoutingEnrichment> staticProperty()

Get the staticProperty property: The static property.

Returns:

the staticProperty value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDynamic

public RoutingEnrichments withDynamic(List<DynamicRoutingEnrichment> dynamic)

Set the dynamic property: The dynamic property.

Parameters:

dynamic - the dynamic value to set.

Returns:

the RoutingEnrichments object itself.

withStaticProperty

public RoutingEnrichments withStaticProperty(List<StaticRoutingEnrichment> staticProperty)

Set the staticProperty property: The static property.

Parameters:

staticProperty - the staticProperty value to set.

Returns:

the RoutingEnrichments object itself.

Applies to