İngilizce dilinde oku

Aracılığıyla paylaş


GatewayInner Class

public final class GatewayInner
extends Resource

Describes an Arc Gateway.

Constructor Summary

Constructor Description
GatewayInner()

Creates an instance of GatewayInner 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 GatewayInner fromJson(JsonReader jsonReader)

Reads an instance of GatewayInner from the JsonReader.

String gatewayEndpoint()

Get the gatewayEndpoint property: The endpoint fqdn for the Gateway.

String gatewayId()

Get the gatewayId property: A unique, immutable, identifier for the Gateway.

GatewayType gatewayType()

Get the gatewayType property: The type of the Gateway resource.

String id()

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

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

GatewayInner withAllowedFeatures(List<String> allowedFeatures)

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

GatewayInner withGatewayType(GatewayType gatewayType)

Set the gatewayType property: The type of the Gateway resource.

GatewayInner withLocation(String location)
GatewayInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

GatewayInner

public GatewayInner()

Creates an instance of GatewayInner 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 GatewayInner fromJson(JsonReader jsonReader)

Reads an instance of GatewayInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

gatewayEndpoint

public String gatewayEndpoint()

Get the gatewayEndpoint property: The endpoint fqdn for the Gateway.

Returns:

the gatewayEndpoint value.

gatewayId

public String gatewayId()

Get the gatewayId property: A unique, immutable, identifier for the Gateway.

Returns:

the gatewayId value.

gatewayType

public GatewayType gatewayType()

Get the gatewayType property: The type of the Gateway resource.

Returns:

the gatewayType value.

id

public String id()

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

Overrides:

GatewayInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

GatewayInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

GatewayInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

GatewayInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAllowedFeatures

public GatewayInner 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 GatewayInner object itself.

withGatewayType

public GatewayInner withGatewayType(GatewayType gatewayType)

Set the gatewayType property: The type of the Gateway resource.

Parameters:

gatewayType - the gatewayType value to set.

Returns:

the GatewayInner object itself.

withLocation

public GatewayInner withLocation(String location)

Overrides:

GatewayInner.withLocation(String location)

Parameters:

location

withTags

public GatewayInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to

Azure SDK for Java

Preview