次の方法で共有


StreamGovernanceConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.models.StreamGovernanceConfig

Implements

public final class StreamGovernanceConfig
implements JsonSerializable<StreamGovernanceConfig>

Stream governance configuration.

Constructor Summary

Constructor Description
StreamGovernanceConfig()

Creates an instance of StreamGovernanceConfig class.

Method Summary

Modifier and Type Method and Description
static StreamGovernanceConfig fromJson(JsonReader jsonReader)

Reads an instance of StreamGovernanceConfig from the JsonReader.

Package packageProperty()

Get the packageProperty property: Stream governance configuration.

JsonWriter toJson(JsonWriter jsonWriter)
StreamGovernanceConfig withPackageProperty(Package packageProperty)

Set the packageProperty property: Stream governance configuration.

Methods inherited from java.lang.Object

Constructor Details

StreamGovernanceConfig

public StreamGovernanceConfig()

Creates an instance of StreamGovernanceConfig class.

Method Details

fromJson

public static StreamGovernanceConfig fromJson(JsonReader jsonReader)

Reads an instance of StreamGovernanceConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StreamGovernanceConfig 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 StreamGovernanceConfig.

packageProperty

public Package packageProperty()

Get the packageProperty property: Stream governance configuration.

Returns:

the packageProperty value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withPackageProperty

public StreamGovernanceConfig withPackageProperty(Package packageProperty)

Set the packageProperty property: Stream governance configuration.

Parameters:

packageProperty - the packageProperty value to set.

Returns:

the StreamGovernanceConfig object itself.

Applies to