
com.azure.resourcemanager.eventgrid.models.DynamicRoutingEnrichment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-eventgrid Show documentation
Show all versions of azure-resourcemanager-eventgrid Show documentation
This package contains Microsoft Azure SDK for EventGrid Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure EventGrid Management Client. Package tag package-2021-10-preview.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.eventgrid.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The DynamicRoutingEnrichment model.
*/
@Fluent
public final class DynamicRoutingEnrichment {
/*
* Dynamic routing enrichment key.
*/
@JsonProperty(value = "key")
private String key;
/*
* Dynamic routing enrichment value.
*/
@JsonProperty(value = "value")
private String value;
/**
* Creates an instance of DynamicRoutingEnrichment class.
*/
public DynamicRoutingEnrichment() {
}
/**
* Get the key property: Dynamic routing enrichment key.
*
* @return the key value.
*/
public String key() {
return this.key;
}
/**
* Set the key property: Dynamic routing enrichment key.
*
* @param key the key value to set.
* @return the DynamicRoutingEnrichment object itself.
*/
public DynamicRoutingEnrichment withKey(String key) {
this.key = key;
return this;
}
/**
* Get the value property: Dynamic routing enrichment value.
*
* @return the value value.
*/
public String value() {
return this.value;
}
/**
* Set the value property: Dynamic routing enrichment value.
*
* @param value the value value to set.
* @return the DynamicRoutingEnrichment object itself.
*/
public DynamicRoutingEnrichment withValue(String value) {
this.value = value;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy