你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DelegationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.DelegationProperties

Implements

public final class DelegationProperties
implements JsonSerializable<DelegationProperties>

Properties of the delegation.

Constructor Summary

Constructor Description
DelegationProperties()

Creates an instance of DelegationProperties class.

Method Summary

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

Reads an instance of DelegationProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning states of a resource.

String serviceName()

Get the serviceName property: The service name to which the NVA is delegated.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DelegationProperties withServiceName(String serviceName)

Set the serviceName property: The service name to which the NVA is delegated.

Methods inherited from java.lang.Object

Constructor Details

DelegationProperties

public DelegationProperties()

Creates an instance of DelegationProperties class.

Method Details

fromJson

public static DelegationProperties fromJson(JsonReader jsonReader)

Reads an instance of DelegationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning states of a resource.

Returns:

the provisioningState value.

serviceName

public String serviceName()

Get the serviceName property: The service name to which the NVA is delegated.

Returns:

the serviceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withServiceName

public DelegationProperties withServiceName(String serviceName)

Set the serviceName property: The service name to which the NVA is delegated.

Parameters:

serviceName - the serviceName value to set.

Returns:

the DelegationProperties object itself.

Applies to