İngilizce dilinde oku

Aracılığıyla paylaş


SettingsProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.hybridcompute.fluent.models.SettingsProperties

Implements

public final class SettingsProperties
implements JsonSerializable<SettingsProperties>

Settings properties.

Constructor Summary

Constructor Description
SettingsProperties()

Creates an instance of SettingsProperties class.

Method Summary

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

Reads an instance of SettingsProperties from the JsonReader.

String gatewayResourceId()

Get the gatewayResourceId property: Associated Gateway Resource Id.

String tenantId()

Get the tenantId property: Azure resource tenant Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SettingsProperties withGatewayResourceId(String gatewayResourceId)

Set the gatewayResourceId property: Associated Gateway Resource Id.

Methods inherited from java.lang.Object

Constructor Details

SettingsProperties

public SettingsProperties()

Creates an instance of SettingsProperties class.

Method Details

fromJson

public static SettingsProperties fromJson(JsonReader jsonReader)

Reads an instance of SettingsProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

gatewayResourceId

public String gatewayResourceId()

Get the gatewayResourceId property: Associated Gateway Resource Id.

Returns:

the gatewayResourceId value.

tenantId

public String tenantId()

Get the tenantId property: Azure resource tenant Id.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGatewayResourceId

public SettingsProperties withGatewayResourceId(String gatewayResourceId)

Set the gatewayResourceId property: Associated Gateway Resource Id.

Parameters:

gatewayResourceId - the gatewayResourceId value to set.

Returns:

the SettingsProperties object itself.

Applies to

Azure SDK for Java

Preview