// 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.Immutable;
import com.azure.resourcemanager.eventgrid.models.DomainTopicProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Properties of the Domain Topic. */
@Immutable
public final class DomainTopicProperties {
    /*
     * Provisioning state of the domain topic.
     */
    @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
    private DomainTopicProvisioningState provisioningState;

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

    /**
     * Get the provisioningState property: Provisioning state of the domain topic.
     *
     * @return the provisioningState value.
     */
    public DomainTopicProvisioningState provisioningState() {
        return this.provisioningState;
    }

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