İngilizce dilinde oku

Aracılığıyla paylaş


GatewayUpdateProperties Class

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

Implements

public final class GatewayUpdateProperties
implements JsonSerializable<GatewayUpdateProperties>

Describes the Update properties of a Gateway Profile.

Constructor Summary

Constructor Description
GatewayUpdateProperties()

Creates an instance of GatewayUpdateProperties class.

Method Summary

Modifier and Type Method and Description
List<String> allowedFeatures()

Get the allowedFeatures property: Specifies the list of features that are enabled for this Gateway.

static GatewayUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of GatewayUpdateProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GatewayUpdateProperties withAllowedFeatures(List<String> allowedFeatures)

Set the allowedFeatures property: Specifies the list of features that are enabled for this Gateway.

Methods inherited from java.lang.Object

Constructor Details

GatewayUpdateProperties

public GatewayUpdateProperties()

Creates an instance of GatewayUpdateProperties class.

Method Details

allowedFeatures

public List allowedFeatures()

Get the allowedFeatures property: Specifies the list of features that are enabled for this Gateway.

Returns:

the allowedFeatures value.

fromJson

public static GatewayUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of GatewayUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAllowedFeatures

public GatewayUpdateProperties withAllowedFeatures(List allowedFeatures)

Set the allowedFeatures property: Specifies the list of features that are enabled for this Gateway.

Parameters:

allowedFeatures - the allowedFeatures value to set.

Returns:

the GatewayUpdateProperties object itself.

Applies to

Azure SDK for Java

Preview