Share via


SCEnvironmentRecordInner Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.fluent.models.SCEnvironmentRecordInner

Implements

public final class SCEnvironmentRecordInner
implements JsonSerializable<SCEnvironmentRecordInner>

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: Id of the environment.

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: Display name of the environment.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SCEnvironmentRecordInner withId(String id)

Set the id property: Id of the environment.

SCEnvironmentRecordInner withKind(String kind)

Set the kind property: Type of environment.

SCEnvironmentRecordInner withMetadata(SCMetadataEntity metadata)

Set the metadata property: Metadata of the record.

SCEnvironmentRecordInner withName(String name)

Set the name property: Display name of the environment.

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 an error occurs while reading the SCEnvironmentRecordInner.

id

public String id()

Get the id property: Id of the environment.

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: Display name of the environment.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public SCEnvironmentRecordInner withId(String id)

Set the id property: Id of the environment.

Parameters:

id - the id value to set.

Returns:

the SCEnvironmentRecordInner object itself.

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.

withName

public SCEnvironmentRecordInner withName(String name)

Set the name property: Display name of the environment.

Parameters:

name - the name value to set.

Returns:

the SCEnvironmentRecordInner object itself.

Applies to