ConnectivityEndpoint Class
- java.
lang. Object - com.
azure. resourcemanager. hdinsight. models. ConnectivityEndpoint
- com.
public final class ConnectivityEndpoint
The connectivity properties.
Constructor Summary
Constructor | Description |
---|---|
ConnectivityEndpoint() |
Creates an instance of Connectivity |
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 private |
String |
protocol()
Get the protocol property: The protocol of the endpoint. |
void |
validate()
Validates the instance. |
Connectivity |
withLocation(String location)
Set the location property: The location of the endpoint. |
Connectivity |
withName(String name)
Set the name property: The name of the endpoint. |
Connectivity |
withPort(Integer port)
Set the port property: The port to connect to. |
Connectivity |
withPrivateIpAddress(String privateIpAddress)
Set the private |
Connectivity |
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:
name
public String name()
Get the name property: The name of the endpoint.
Returns:
port
public Integer port()
Get the port property: The port to connect to.
Returns:
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: The private ip address of the endpoint.
Returns:
protocol
public String protocol()
Get the protocol property: The protocol of the endpoint.
Returns:
validate
public void validate()
Validates the instance.
withLocation
public ConnectivityEndpoint withLocation(String location)
Set the location property: The location of the endpoint.
Parameters:
Returns:
withName
public ConnectivityEndpoint withName(String name)
Set the name property: The name of the endpoint.
Parameters:
Returns:
withPort
public ConnectivityEndpoint withPort(Integer port)
Set the port property: The port to connect to.
Parameters:
Returns:
withPrivateIpAddress
public ConnectivityEndpoint withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private ip address of the endpoint.
Parameters:
Returns:
withProtocol
public ConnectivityEndpoint withProtocol(String protocol)
Set the protocol property: The protocol of the endpoint.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for