Condividi tramite


SubnetDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.delegatednetwork.models.SubnetDetails

Implements

public final class SubnetDetails
implements JsonSerializable<SubnetDetails>

Properties of orchestrator.

Constructor Summary

Constructor Description
SubnetDetails()

Creates an instance of SubnetDetails class.

Method Summary

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

Reads an instance of SubnetDetails from the JsonReader.

String id()

Get the id property: subnet arm resource id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SubnetDetails withId(String id)

Set the id property: subnet arm resource id.

Methods inherited from java.lang.Object

Constructor Details

SubnetDetails

public SubnetDetails()

Creates an instance of SubnetDetails class.

Method Details

fromJson

public static SubnetDetails fromJson(JsonReader jsonReader)

Reads an instance of SubnetDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: subnet arm resource id.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public SubnetDetails withId(String id)

Set the id property: subnet arm resource id.

Parameters:

id - the id value to set.

Returns:

the SubnetDetails object itself.

Applies to