Condividi tramite


DelegatedSubnetInner Class

public final class DelegatedSubnetInner
extends DelegatedSubnetResource

Represents an instance of a orchestrator.

Constructor Summary

Constructor Description
DelegatedSubnetInner()

Creates an instance of DelegatedSubnetInner class.

Method Summary

Modifier and Type Method and Description
ControllerDetails controllerDetails()

Get the controllerDetails property: Properties of the controller.

static DelegatedSubnetInner fromJson(JsonReader jsonReader)

Reads an instance of DelegatedSubnetInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

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)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DelegatedSubnetInner withControllerDetails(ControllerDetails controllerDetails)

Set the controllerDetails property: Properties of the controller.

DelegatedSubnetInner withLocation(String location)
DelegatedSubnetInner withSubnetDetails(SubnetDetails subnetDetails)

Set the subnetDetails property: subnet details.

DelegatedSubnetInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from DelegatedSubnetResource

Methods inherited from java.lang.Object

Constructor Details

DelegatedSubnetInner

public DelegatedSubnetInner()

Creates an instance of DelegatedSubnetInner class.

Method Details

controllerDetails

public ControllerDetails controllerDetails()

Get the controllerDetails property: Properties of the controller.

Returns:

the controllerDetails value.

fromJson

public static DelegatedSubnetInner fromJson(JsonReader jsonReader)

Reads an instance of DelegatedSubnetInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DelegatedSubnetInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DelegatedSubnetInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DelegatedSubnetInner.name()

Returns:

the name value.

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)

Overrides:

DelegatedSubnetInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DelegatedSubnetInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

DelegatedSubnetInner.validate()

withControllerDetails

public DelegatedSubnetInner withControllerDetails(ControllerDetails controllerDetails)

Set the controllerDetails property: Properties of the controller.

Parameters:

controllerDetails - the controllerDetails value to set.

Returns:

the DelegatedSubnetInner object itself.

withLocation

public DelegatedSubnetInner withLocation(String location)

Overrides:

DelegatedSubnetInner.withLocation(String location)

Parameters:

location

withSubnetDetails

public DelegatedSubnetInner withSubnetDetails(SubnetDetails subnetDetails)

Set the subnetDetails property: subnet details.

Parameters:

subnetDetails - the subnetDetails value to set.

Returns:

the DelegatedSubnetInner object itself.

withTags

public DelegatedSubnetInner withTags(Map<String,String> tags)

Overrides:

DelegatedSubnetInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to