VirtualApplianceSiteInner Class

public final class VirtualApplianceSiteInner
extends SubResource

Virtual Appliance Site resource.

Constructor Summary

Constructor Description
VirtualApplianceSiteInner()

Creates an instance of VirtualApplianceSiteInner class.

Method Summary

Modifier and Type Method and Description
String addressPrefix()

Get the addressPrefix property: Address Prefix.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static VirtualApplianceSiteInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualApplianceSiteInner from the JsonReader.

String name()

Get the name property: Name of the virtual appliance site.

Office365PolicyProperties o365Policy()

Get the o365Policy property: Office 365 Policy.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Site type.

void validate()

Validates the instance.

VirtualApplianceSiteInner withAddressPrefix(String addressPrefix)

Set the addressPrefix property: Address Prefix.

VirtualApplianceSiteInner withId(String id)
VirtualApplianceSiteInner withName(String name)

Set the name property: Name of the virtual appliance site.

VirtualApplianceSiteInner withO365Policy(Office365PolicyProperties o365Policy)

Set the o365Policy property: Office 365 Policy.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

VirtualApplianceSiteInner

public VirtualApplianceSiteInner()

Creates an instance of VirtualApplianceSiteInner class.

Method Details

addressPrefix

public String addressPrefix()

Get the addressPrefix property: Address Prefix.

Returns:

the addressPrefix value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static VirtualApplianceSiteInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualApplianceSiteInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the virtual appliance site.

Returns:

the name value.

o365Policy

public Office365PolicyProperties o365Policy()

Get the o365Policy property: Office 365 Policy.

Returns:

the o365Policy value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VirtualApplianceSiteInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Site type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAddressPrefix

public VirtualApplianceSiteInner withAddressPrefix(String addressPrefix)

Set the addressPrefix property: Address Prefix.

Parameters:

addressPrefix - the addressPrefix value to set.

Returns:

the VirtualApplianceSiteInner object itself.

withId

public VirtualApplianceSiteInner withId(String id)

Overrides:

VirtualApplianceSiteInner.withId(String id)

Parameters:

id

withName

public VirtualApplianceSiteInner withName(String name)

Set the name property: Name of the virtual appliance site.

Parameters:

name - the name value to set.

Returns:

the VirtualApplianceSiteInner object itself.

withO365Policy

public VirtualApplianceSiteInner withO365Policy(Office365PolicyProperties o365Policy)

Set the o365Policy property: Office 365 Policy.

Parameters:

o365Policy - the o365Policy value to set.

Returns:

the VirtualApplianceSiteInner object itself.

Applies to