SCEnvironmentRecordInner Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. fluent. models. SCEnvironmentRecordInner
- com.
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 SCEnvironment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
SCEnvironment |
fromJson(JsonReader jsonReader)
Reads an instance of SCEnvironment |
| String |
id()
Get the id property: Id of the environment. |
| String |
kind()
Get the kind property: Type of environment. |
|
SCMetadata |
metadata()
Get the metadata property: Metadata of the record. |
| String |
name()
Get the name property: Display name of the environment. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
SCEnvironment |
withId(String id)
Set the id property: Id of the environment. |
|
SCEnvironment |
withKind(String kind)
Set the kind property: Type of environment. |
|
SCEnvironment |
withMetadata(SCMetadataEntity metadata)
Set the metadata property: Metadata of the record. |
|
SCEnvironment |
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:
Returns:
Throws:
id
public String id()
Get the id property: Id of the environment.
Returns:
kind
public String kind()
Get the kind property: Type of environment.
Returns:
metadata
public SCMetadataEntity metadata()
Get the metadata property: Metadata of the record.
Returns:
name
public String name()
Get the name property: Display name of the environment.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public SCEnvironmentRecordInner withId(String id)
Set the id property: Id of the environment.
Parameters:
Returns:
withKind
public SCEnvironmentRecordInner withKind(String kind)
Set the kind property: Type of environment.
Parameters:
Returns:
withMetadata
public SCEnvironmentRecordInner withMetadata(SCMetadataEntity metadata)
Set the metadata property: Metadata of the record.
Parameters:
Returns:
withName
public SCEnvironmentRecordInner withName(String name)
Set the name property: Display name of the environment.
Parameters:
Returns: