NextHopParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.network.NextHopParameters

public class NextHopParameters

Parameters that define the source and destination endpoint.

Constructor Summary

Constructor Description
NextHopParameters()

Method Summary

Modifier and Type Method and Description
java.lang.String destinationIPAddress()

Get the destination IP address.

java.lang.String sourceIPAddress()

Get the source IP address.

java.lang.String targetNicResourceId()

Get the NIC ID.

java.lang.String targetResourceId()

Get the resource identifier of the target resource against which the action is to be performed.

NextHopParameters withDestinationIPAddress(String destinationIPAddress)

Set the destination IP address.

NextHopParameters withSourceIPAddress(String sourceIPAddress)

Set the source IP address.

NextHopParameters withTargetNicResourceId(String targetNicResourceId)

Set the NIC ID.

NextHopParameters withTargetResourceId(String targetResourceId)

Set the resource identifier of the target resource against which the action is to be performed.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

NextHopParameters

public NextHopParameters()

Method Details

destinationIPAddress

public String destinationIPAddress()

Get the destination IP address.

Returns:

the destinationIPAddress value

sourceIPAddress

public String sourceIPAddress()

Get the source IP address.

Returns:

the sourceIPAddress value

targetNicResourceId

public String targetNicResourceId()

Get the NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).

Returns:

the targetNicResourceId value

targetResourceId

public String targetResourceId()

Get the resource identifier of the target resource against which the action is to be performed.

Returns:

the targetResourceId value

withDestinationIPAddress

public NextHopParameters withDestinationIPAddress(String destinationIPAddress)

Set the destination IP address.

Parameters:

destinationIPAddress - the destinationIPAddress value to set

Returns:

the NextHopParameters object itself.

withSourceIPAddress

public NextHopParameters withSourceIPAddress(String sourceIPAddress)

Set the source IP address.

Parameters:

sourceIPAddress - the sourceIPAddress value to set

Returns:

the NextHopParameters object itself.

withTargetNicResourceId

public NextHopParameters withTargetNicResourceId(String targetNicResourceId)

Set the NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).

Parameters:

targetNicResourceId - the targetNicResourceId value to set

Returns:

the NextHopParameters object itself.

withTargetResourceId

public NextHopParameters withTargetResourceId(String targetResourceId)

Set the resource identifier of the target resource against which the action is to be performed.

Parameters:

targetResourceId - the targetResourceId value to set

Returns:

the NextHopParameters object itself.

Applies to