
com.azure.resourcemanager.eventgrid.models.RoutingEnrichments 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;
import java.util.List;
/**
* The RoutingEnrichments model.
*/
@Fluent
public final class RoutingEnrichments {
/*
* The static property.
*/
@JsonProperty(value = "static")
private List staticProperty;
/*
* The dynamic property.
*/
@JsonProperty(value = "dynamic")
private List dynamic;
/**
* Creates an instance of RoutingEnrichments class.
*/
public RoutingEnrichments() {
}
/**
* Get the staticProperty property: The static property.
*
* @return the staticProperty value.
*/
public List staticProperty() {
return this.staticProperty;
}
/**
* Set the staticProperty property: The static property.
*
* @param staticProperty the staticProperty value to set.
* @return the RoutingEnrichments object itself.
*/
public RoutingEnrichments withStaticProperty(List staticProperty) {
this.staticProperty = staticProperty;
return this;
}
/**
* Get the dynamic property: The dynamic property.
*
* @return the dynamic value.
*/
public List dynamic() {
return this.dynamic;
}
/**
* Set the dynamic property: The dynamic property.
*
* @param dynamic the dynamic value to set.
* @return the RoutingEnrichments object itself.
*/
public RoutingEnrichments withDynamic(List dynamic) {
this.dynamic = dynamic;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (staticProperty() != null) {
staticProperty().forEach(e -> e.validate());
}
if (dynamic() != null) {
dynamic().forEach(e -> e.validate());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy