次の方法で共有


TopicsConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.TopicsConfiguration

Implements

public final class TopicsConfiguration
implements JsonSerializable<TopicsConfiguration>

Properties of the Topics Configuration.

Constructor Summary

Constructor Description
TopicsConfiguration()

Creates an instance of TopicsConfiguration class.

Method Summary

Modifier and Type Method and Description
List<CustomDomainConfiguration> customDomains()

Get the customDomains property: List of custom domain configurations for the namespace.

static TopicsConfiguration fromJson(JsonReader jsonReader)

Reads an instance of TopicsConfiguration from the JsonReader.

String hostname()

Get the hostname property: The hostname for the topics configuration.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TopicsConfiguration withCustomDomains(List<CustomDomainConfiguration> customDomains)

Set the customDomains property: List of custom domain configurations for the namespace.

Methods inherited from java.lang.Object

Constructor Details

TopicsConfiguration

public TopicsConfiguration()

Creates an instance of TopicsConfiguration class.

Method Details

customDomains

public List<CustomDomainConfiguration> customDomains()

Get the customDomains property: List of custom domain configurations for the namespace.

Returns:

the customDomains value.

fromJson

public static TopicsConfiguration fromJson(JsonReader jsonReader)

Reads an instance of TopicsConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TopicsConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TopicsConfiguration.

hostname

public String hostname()

Get the hostname property: The hostname for the topics configuration. This is a read-only property.

Returns:

the hostname value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCustomDomains

public TopicsConfiguration withCustomDomains(List<CustomDomainConfiguration> customDomains)

Set the customDomains property: List of custom domain configurations for the namespace.

Parameters:

customDomains - the customDomains value to set.

Returns:

the TopicsConfiguration object itself.

Applies to