All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.eventgrid.fluent.models.ExtensionTopicProperties Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.2.0-beta.7
Show newest version
// 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.fluent.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Properties of the Extension Topic.
 */
@Fluent
public final class ExtensionTopicProperties {
    /*
     * Description of the extension topic.
     */
    @JsonProperty(value = "description")
    private String description;

    /*
     * System topic resource id which is mapped to the source.
     */
    @JsonProperty(value = "systemTopic")
    private String systemTopic;

    /**
     * Creates an instance of ExtensionTopicProperties class.
     */
    public ExtensionTopicProperties() {
    }

    /**
     * Get the description property: Description of the extension topic.
     * 
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description property: Description of the extension topic.
     * 
     * @param description the description value to set.
     * @return the ExtensionTopicProperties object itself.
     */
    public ExtensionTopicProperties withDescription(String description) {
        this.description = description;
        return this;
    }

    /**
     * Get the systemTopic property: System topic resource id which is mapped to the source.
     * 
     * @return the systemTopic value.
     */
    public String systemTopic() {
        return this.systemTopic;
    }

    /**
     * Set the systemTopic property: System topic resource id which is mapped to the source.
     * 
     * @param systemTopic the systemTopic value to set.
     * @return the ExtensionTopicProperties object itself.
     */
    public ExtensionTopicProperties withSystemTopic(String systemTopic) {
        this.systemTopic = systemTopic;
        return this;
    }

    /**
     * Validates the instance.
     * 
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy