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

com.azure.messaging.servicebus.implementation.models.CreateSubscriptionBody Maven / Gradle / Ivy

There is a newer version: 7.18.0-beta.1
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.messaging.servicebus.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/** The CreateSubscriptionBody model. */
@JacksonXmlRootElement(localName = "entry", namespace = "http://www.w3.org/2005/Atom")
@Fluent
public final class CreateSubscriptionBody {
    /*
     * SubscriptionDescription for the new subscription.
     */
    @JacksonXmlProperty(localName = "content", namespace = "http://www.w3.org/2005/Atom")
    private CreateSubscriptionBodyContent content;

    /**
     * Get the content property: SubscriptionDescription for the new subscription.
     *
     * @return the content value.
     */
    public CreateSubscriptionBodyContent getContent() {
        return this.content;
    }

    /**
     * Set the content property: SubscriptionDescription for the new subscription.
     *
     * @param content the content value to set.
     * @return the CreateSubscriptionBody object itself.
     */
    public CreateSubscriptionBody setContent(CreateSubscriptionBodyContent content) {
        this.content = content;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy