ExpressRouteLagLinkPropertiesFormat Class

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

Implements

public final class ExpressRouteLagLinkPropertiesFormat
implements JsonSerializable<ExpressRouteLagLinkPropertiesFormat>

ExpressRouteLagLink Resource Properties Properties specific to ExpressRouteLagLink resources.

Constructor Summary

Constructor Description
ExpressRouteLagLinkPropertiesFormat()

Creates an instance of ExpressRouteLagLinkPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
ExpressRouteLinkAdminState adminState()

Get the adminState property: Administrative state of the link.

static ExpressRouteLagLinkPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLagLinkPropertiesFormat from the JsonReader.

String interfaceName()

Get the interfaceName property: Name of Azure router interface.

ExpressRouteLinkMacSecConfig macSecConfig()

Get the macSecConfig property: MacSec configuration.

List<ExpressRouteLagMemberInner> members()

Get the members property: ExpressRouteLagMember Sub-Resources The set of members of the ExpressRouteLagLink resource.

CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route LAG link resource.

String routerName()

Get the routerName property: Name of Azure router associated with link.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteLagLinkPropertiesFormat withAdminState(ExpressRouteLinkAdminState adminState)

Set the adminState property: Administrative state of the link.

ExpressRouteLagLinkPropertiesFormat withMacSecConfig(ExpressRouteLinkMacSecConfig macSecConfig)

Set the macSecConfig property: MacSec configuration.

ExpressRouteLagLinkPropertiesFormat withMembers(List<ExpressRouteLagMemberInner> members)

Set the members property: ExpressRouteLagMember Sub-Resources The set of members of the ExpressRouteLagLink resource.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteLagLinkPropertiesFormat

public ExpressRouteLagLinkPropertiesFormat()

Creates an instance of ExpressRouteLagLinkPropertiesFormat class.

Method Details

adminState

public ExpressRouteLinkAdminState adminState()

Get the adminState property: Administrative state of the link.

Returns:

the adminState value.

fromJson

public static ExpressRouteLagLinkPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLagLinkPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

interfaceName

public String interfaceName()

Get the interfaceName property: Name of Azure router interface.

Returns:

the interfaceName value.

macSecConfig

public ExpressRouteLinkMacSecConfig macSecConfig()

Get the macSecConfig property: MacSec configuration.

Returns:

the macSecConfig value.

members

public List<ExpressRouteLagMemberInner> members()

Get the members property: ExpressRouteLagMember Sub-Resources The set of members of the ExpressRouteLagLink resource.

Returns:

the members value.

provisioningState

public CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route LAG link resource.

Returns:

the provisioningState value.

routerName

public String routerName()

Get the routerName property: Name of Azure router associated with link.

Returns:

the routerName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdminState

public ExpressRouteLagLinkPropertiesFormat withAdminState(ExpressRouteLinkAdminState adminState)

Set the adminState property: Administrative state of the link.

Parameters:

adminState - the adminState value to set.

Returns:

the ExpressRouteLagLinkPropertiesFormat object itself.

withMacSecConfig

public ExpressRouteLagLinkPropertiesFormat withMacSecConfig(ExpressRouteLinkMacSecConfig macSecConfig)

Set the macSecConfig property: MacSec configuration.

Parameters:

macSecConfig - the macSecConfig value to set.

Returns:

the ExpressRouteLagLinkPropertiesFormat object itself.

withMembers

public ExpressRouteLagLinkPropertiesFormat withMembers(List<ExpressRouteLagMemberInner> members)

Set the members property: ExpressRouteLagMember Sub-Resources The set of members of the ExpressRouteLagLink resource.

Parameters:

members - the members value to set.

Returns:

the ExpressRouteLagLinkPropertiesFormat object itself.

Applies to