次の方法で共有


SCClusterNetworkEnvironmentEntity Class

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

Implements

public final class SCClusterNetworkEnvironmentEntity
implements JsonSerializable<SCClusterNetworkEnvironmentEntity>

The environment or the network to which cluster belongs.

Constructor Summary

Constructor Description
SCClusterNetworkEnvironmentEntity()

Creates an instance of SCClusterNetworkEnvironmentEntity class.

Method Summary

Modifier and Type Method and Description
String environment()

Get the environment property: Environment of the referred resource.

static SCClusterNetworkEnvironmentEntity fromJson(JsonReader jsonReader)

Reads an instance of SCClusterNetworkEnvironmentEntity from the JsonReader.

String id()

Get the id property: ID of the referred resource.

String related()

Get the related property: API URL for accessing or modifying the referred object.

String resourceName()

Get the resourceName property: CRN reference to the referred resource.

JsonWriter toJson(JsonWriter jsonWriter)
SCClusterNetworkEnvironmentEntity withEnvironment(String environment)

Set the environment property: Environment of the referred resource.

SCClusterNetworkEnvironmentEntity withId(String id)

Set the id property: ID of the referred resource.

SCClusterNetworkEnvironmentEntity withRelated(String related)

Set the related property: API URL for accessing or modifying the referred object.

SCClusterNetworkEnvironmentEntity withResourceName(String resourceName)

Set the resourceName property: CRN reference to the referred resource.

Methods inherited from java.lang.Object

Constructor Details

SCClusterNetworkEnvironmentEntity

public SCClusterNetworkEnvironmentEntity()

Creates an instance of SCClusterNetworkEnvironmentEntity class.

Method Details

environment

public String environment()

Get the environment property: Environment of the referred resource.

Returns:

the environment value.

fromJson

public static SCClusterNetworkEnvironmentEntity fromJson(JsonReader jsonReader)

Reads an instance of SCClusterNetworkEnvironmentEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: ID of the referred resource.

Returns:

the id value.

related

public String related()

Get the related property: API URL for accessing or modifying the referred object.

Returns:

the related value.

resourceName

public String resourceName()

Get the resourceName property: CRN reference to the referred resource.

Returns:

the resourceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withEnvironment

public SCClusterNetworkEnvironmentEntity withEnvironment(String environment)

Set the environment property: Environment of the referred resource.

Parameters:

environment - the environment value to set.

Returns:

the SCClusterNetworkEnvironmentEntity object itself.

withId

public SCClusterNetworkEnvironmentEntity withId(String id)

Set the id property: ID of the referred resource.

Parameters:

id - the id value to set.

Returns:

the SCClusterNetworkEnvironmentEntity object itself.

withRelated

public SCClusterNetworkEnvironmentEntity withRelated(String related)

Set the related property: API URL for accessing or modifying the referred object.

Parameters:

related - the related value to set.

Returns:

the SCClusterNetworkEnvironmentEntity object itself.

withResourceName

public SCClusterNetworkEnvironmentEntity withResourceName(String resourceName)

Set the resourceName property: CRN reference to the referred resource.

Parameters:

resourceName - the resourceName value to set.

Returns:

the SCClusterNetworkEnvironmentEntity object itself.

Applies to