
com.azure.resourcemanager.eventgrid.models.PartnerUpdateTopicInfo 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;
/**
* Update properties for the corresponding partner topic of a channel.
*/
@Fluent
public final class PartnerUpdateTopicInfo {
/*
* Event type info for the partner topic
*/
@JsonProperty(value = "eventTypeInfo")
private EventTypeInfo eventTypeInfo;
/**
* Creates an instance of PartnerUpdateTopicInfo class.
*/
public PartnerUpdateTopicInfo() {
}
/**
* Get the eventTypeInfo property: Event type info for the partner topic.
*
* @return the eventTypeInfo value.
*/
public EventTypeInfo eventTypeInfo() {
return this.eventTypeInfo;
}
/**
* Set the eventTypeInfo property: Event type info for the partner topic.
*
* @param eventTypeInfo the eventTypeInfo value to set.
* @return the PartnerUpdateTopicInfo object itself.
*/
public PartnerUpdateTopicInfo withEventTypeInfo(EventTypeInfo eventTypeInfo) {
this.eventTypeInfo = eventTypeInfo;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (eventTypeInfo() != null) {
eventTypeInfo().validate();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy