ClusterNetworkEntity Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. models. ClusterNetworkEntity
- com.
Implements
public final class ClusterNetworkEntity
implements JsonSerializable<ClusterNetworkEntity>
The network associated with this object.
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterNetworkEntity() |
Creates an instance of Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
environment()
Get the environment property: Environment of the referred resource. |
|
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
| 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 resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Cluster |
withEnvironment(String environment)
Set the environment property: Environment of the referred resource. |
|
Cluster |
withId(String id)
Set the id property: ID of the referred resource. |
|
Cluster |
withRelated(String related)
Set the related property: API URL for accessing or modifying the referred object. |
|
Cluster |
withResourceName(String resourceName)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
ClusterNetworkEntity
public ClusterNetworkEntity()
Creates an instance of ClusterNetworkEntity class.
Method Details
environment
public String environment()
Get the environment property: Environment of the referred resource.
Returns:
fromJson
public static ClusterNetworkEntity fromJson(JsonReader jsonReader)
Reads an instance of ClusterNetworkEntity from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: ID of the referred resource.
Returns:
related
public String related()
Get the related property: API URL for accessing or modifying the referred object.
Returns:
resourceName
public String resourceName()
Get the resourceName property: CRN reference to the referred resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnvironment
public ClusterNetworkEntity withEnvironment(String environment)
Set the environment property: Environment of the referred resource.
Parameters:
Returns:
withId
public ClusterNetworkEntity withId(String id)
Set the id property: ID of the referred resource.
Parameters:
Returns:
withRelated
public ClusterNetworkEntity withRelated(String related)
Set the related property: API URL for accessing or modifying the referred object.
Parameters:
Returns:
withResourceName
public ClusterNetworkEntity withResourceName(String resourceName)
Set the resourceName property: CRN reference to the referred resource.
Parameters:
Returns: