次の方法で共有


SCEnvironmentRecordInner Class

public final class SCEnvironmentRecordInner
extends ProxyResource

Details about environment name, metadata and environment id of an environment.

Constructor Summary

Constructor Description
SCEnvironmentRecordInner()

Creates an instance of SCEnvironmentRecordInner class.

Method Summary

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

Reads an instance of SCEnvironmentRecordInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String kind()

Get the kind property: Type of environment.

SCMetadataEntity metadata()

Get the metadata property: Metadata of the record.

String name()

Get the name property: The name of the resource.

StreamGovernanceConfig streamGovernanceConfig()

Get the streamGovernanceConfig property: Stream governance configuration.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

SCEnvironmentRecordInner withKind(String kind)

Set the kind property: Type of environment.

SCEnvironmentRecordInner withMetadata(SCMetadataEntity metadata)

Set the metadata property: Metadata of the record.

SCEnvironmentRecordInner withStreamGovernanceConfig(StreamGovernanceConfig streamGovernanceConfig)

Set the streamGovernanceConfig property: Stream governance configuration.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SCEnvironmentRecordInner

public SCEnvironmentRecordInner()

Creates an instance of SCEnvironmentRecordInner class.

Method Details

fromJson

public static SCEnvironmentRecordInner fromJson(JsonReader jsonReader)

Reads an instance of SCEnvironmentRecordInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SCEnvironmentRecordInner.id()

Returns:

the id value.

kind

public String kind()

Get the kind property: Type of environment.

Returns:

the kind value.

metadata

public SCMetadataEntity metadata()

Get the metadata property: Metadata of the record.

Returns:

the metadata value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SCEnvironmentRecordInner.name()

Returns:

the name value.

streamGovernanceConfig

public StreamGovernanceConfig streamGovernanceConfig()

Get the streamGovernanceConfig property: Stream governance configuration.

Returns:

the streamGovernanceConfig value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SCEnvironmentRecordInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SCEnvironmentRecordInner.type()

Returns:

the type value.

withKind

public SCEnvironmentRecordInner withKind(String kind)

Set the kind property: Type of environment.

Parameters:

kind - the kind value to set.

Returns:

the SCEnvironmentRecordInner object itself.

withMetadata

public SCEnvironmentRecordInner withMetadata(SCMetadataEntity metadata)

Set the metadata property: Metadata of the record.

Parameters:

metadata - the metadata value to set.

Returns:

the SCEnvironmentRecordInner object itself.

withStreamGovernanceConfig

public SCEnvironmentRecordInner withStreamGovernanceConfig(StreamGovernanceConfig streamGovernanceConfig)

Set the streamGovernanceConfig property: Stream governance configuration.

Parameters:

streamGovernanceConfig - the streamGovernanceConfig value to set.

Returns:

the SCEnvironmentRecordInner object itself.

Applies to