Condividi tramite


DelegatedSubnetProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.delegatednetwork.fluent.models.DelegatedSubnetProperties

Implements

public final class DelegatedSubnetProperties
implements JsonSerializable<DelegatedSubnetProperties>

Properties of delegated subnet.

Constructor Summary

Constructor Description
DelegatedSubnetProperties()

Creates an instance of DelegatedSubnetProperties class.

Method Summary

Modifier and Type Method and Description
ControllerDetails controllerDetails()

Get the controllerDetails property: Properties of the controller.

static DelegatedSubnetProperties fromJson(JsonReader jsonReader)

Reads an instance of DelegatedSubnetProperties from the JsonReader.

DelegatedSubnetState provisioningState()

Get the provisioningState property: The current state of dnc delegated subnet resource.

String resourceGuid()

Get the resourceGuid property: Resource guid.

SubnetDetails subnetDetails()

Get the subnetDetails property: subnet details.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DelegatedSubnetProperties withControllerDetails(ControllerDetails controllerDetails)

Set the controllerDetails property: Properties of the controller.

DelegatedSubnetProperties withSubnetDetails(SubnetDetails subnetDetails)

Set the subnetDetails property: subnet details.

Methods inherited from java.lang.Object

Constructor Details

DelegatedSubnetProperties

public DelegatedSubnetProperties()

Creates an instance of DelegatedSubnetProperties class.

Method Details

controllerDetails

public ControllerDetails controllerDetails()

Get the controllerDetails property: Properties of the controller.

Returns:

the controllerDetails value.

fromJson

public static DelegatedSubnetProperties fromJson(JsonReader jsonReader)

Reads an instance of DelegatedSubnetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public DelegatedSubnetState provisioningState()

Get the provisioningState property: The current state of dnc delegated subnet resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: Resource guid.

Returns:

the resourceGuid value.

subnetDetails

public SubnetDetails subnetDetails()

Get the subnetDetails property: subnet details.

Returns:

the subnetDetails value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withControllerDetails

public DelegatedSubnetProperties withControllerDetails(ControllerDetails controllerDetails)

Set the controllerDetails property: Properties of the controller.

Parameters:

controllerDetails - the controllerDetails value to set.

Returns:

the DelegatedSubnetProperties object itself.

withSubnetDetails

public DelegatedSubnetProperties withSubnetDetails(SubnetDetails subnetDetails)

Set the subnetDetails property: subnet details.

Parameters:

subnetDetails - the subnetDetails value to set.

Returns:

the DelegatedSubnetProperties object itself.

Applies to