ConnectivityEndpoint Class

  • java.lang.Object
    • com.azure.resourcemanager.hdinsight.models.ConnectivityEndpoint

public final class ConnectivityEndpoint

The connectivity properties.

Constructor Summary

Constructor Description
ConnectivityEndpoint()

Creates an instance of ConnectivityEndpoint class.

Method Summary

Modifier and Type Method and Description
String location()

Get the location property: The location of the endpoint.

String name()

Get the name property: The name of the endpoint.

Integer port()

Get the port property: The port to connect to.

String privateIpAddress()

Get the privateIpAddress property: The private ip address of the endpoint.

String protocol()

Get the protocol property: The protocol of the endpoint.

void validate()

Validates the instance.

ConnectivityEndpoint withLocation(String location)

Set the location property: The location of the endpoint.

ConnectivityEndpoint withName(String name)

Set the name property: The name of the endpoint.

ConnectivityEndpoint withPort(Integer port)

Set the port property: The port to connect to.

ConnectivityEndpoint withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: The private ip address of the endpoint.

ConnectivityEndpoint withProtocol(String protocol)

Set the protocol property: The protocol of the endpoint.

Methods inherited from java.lang.Object

Constructor Details

ConnectivityEndpoint

public ConnectivityEndpoint()

Creates an instance of ConnectivityEndpoint class.

Method Details

location

public String location()

Get the location property: The location of the endpoint.

Returns:

the location value.

name

public String name()

Get the name property: The name of the endpoint.

Returns:

the name value.

port

public Integer port()

Get the port property: The port to connect to.

Returns:

the port value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: The private ip address of the endpoint.

Returns:

the privateIpAddress value.

protocol

public String protocol()

Get the protocol property: The protocol of the endpoint.

Returns:

the protocol value.

validate

public void validate()

Validates the instance.

withLocation

public ConnectivityEndpoint withLocation(String location)

Set the location property: The location of the endpoint.

Parameters:

location - the location value to set.

Returns:

the ConnectivityEndpoint object itself.

withName

public ConnectivityEndpoint withName(String name)

Set the name property: The name of the endpoint.

Parameters:

name - the name value to set.

Returns:

the ConnectivityEndpoint object itself.

withPort

public ConnectivityEndpoint withPort(Integer port)

Set the port property: The port to connect to.

Parameters:

port - the port value to set.

Returns:

the ConnectivityEndpoint object itself.

withPrivateIpAddress

public ConnectivityEndpoint withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: The private ip address of the endpoint.

Parameters:

privateIpAddress - the privateIpAddress value to set.

Returns:

the ConnectivityEndpoint object itself.

withProtocol

public ConnectivityEndpoint withProtocol(String protocol)

Set the protocol property: The protocol of the endpoint.

Parameters:

protocol - the protocol value to set.

Returns:

the ConnectivityEndpoint object itself.

Applies to