VirtualWanSecurityProvider Class

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

Implements

public final class VirtualWanSecurityProvider
implements JsonSerializable<VirtualWanSecurityProvider>

Collection of SecurityProviders.

Constructor Summary

Constructor Description
VirtualWanSecurityProvider()

Creates an instance of VirtualWanSecurityProvider class.

Method Summary

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

Reads an instance of VirtualWanSecurityProvider from the JsonReader.

String name()

Get the name property: Name of the security provider.

JsonWriter toJson(JsonWriter jsonWriter)
VirtualWanSecurityProviderType type()

Get the type property: Name of the security provider.

String url()

Get the url property: Url of the security provider.

void validate()

Validates the instance.

VirtualWanSecurityProvider withName(String name)

Set the name property: Name of the security provider.

VirtualWanSecurityProvider withUrl(String url)

Set the url property: Url of the security provider.

Methods inherited from java.lang.Object

Constructor Details

VirtualWanSecurityProvider

public VirtualWanSecurityProvider()

Creates an instance of VirtualWanSecurityProvider class.

Method Details

fromJson

public static VirtualWanSecurityProvider fromJson(JsonReader jsonReader)

Reads an instance of VirtualWanSecurityProvider from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the security provider.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public VirtualWanSecurityProviderType type()

Get the type property: Name of the security provider.

Returns:

the type value.

url

public String url()

Get the url property: Url of the security provider.

Returns:

the url value.

validate

public void validate()

Validates the instance.

withName

public VirtualWanSecurityProvider withName(String name)

Set the name property: Name of the security provider.

Parameters:

name - the name value to set.

Returns:

the VirtualWanSecurityProvider object itself.

withUrl

public VirtualWanSecurityProvider withUrl(String url)

Set the url property: Url of the security provider.

Parameters:

url - the url value to set.

Returns:

the VirtualWanSecurityProvider object itself.

Applies to