RuleDescriptionEntryContent.java
// 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 RuleDescriptionEntryContent model. */
@JacksonXmlRootElement(localName = "null", namespace = "http://www.w3.org/2005/Atom")
@Fluent
public final class RuleDescriptionEntryContent {
/*
* Type of content in rule response
*/
@JacksonXmlProperty(localName = "type", isAttribute = true)
private String type;
/*
* The RuleDescription property.
*/
@JacksonXmlProperty(
localName = "RuleDescription",
namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")
private RuleDescription ruleDescription;
/**
* Get the type property: Type of content in rule response.
*
* @return the type value.
*/
public String getType() {
return this.type;
}
/**
* Set the type property: Type of content in rule response.
*
* @param type the type value to set.
* @return the RuleDescriptionEntryContent object itself.
*/
public RuleDescriptionEntryContent setType(String type) {
this.type = type;
return this;
}
/**
* Get the ruleDescription property: The RuleDescription property.
*
* @return the ruleDescription value.
*/
public RuleDescription getRuleDescription() {
return this.ruleDescription;
}
/**
* Set the ruleDescription property: The RuleDescription property.
*
* @param ruleDescription the ruleDescription value to set.
* @return the RuleDescriptionEntryContent object itself.
*/
public RuleDescriptionEntryContent setRuleDescription(RuleDescription ruleDescription) {
this.ruleDescription = ruleDescription;
return this;
}
}