EndpointResourceDescription Class
- java.
lang. Object - system.
fabric. description. EndpointResourceDescription
- system.
public class EndpointResourceDescription
Describes the endpoint resource.
Method Summary
Modifier and Type | Method and Description |
---|---|
EndPointType |
getEndpointType()
Gets the type of the endpoint. |
String |
getName()
Gets the name of the endpoint. |
int |
getPort()
Gets the port assigned for this endpoint. |
EndPointProtocol |
getProtocol()
Gets the protocol used by this endpoint. |
void |
setEndpointType(EndPointType endpointType)
Sets the type of the endpoint. |
void |
setName(String name)
Sets the name of the endpoint. |
void |
setProtocol(EndPointProtocol protocol)
Sets the protocol used by this endpoint. |
String | toString() |
Method Details
getEndpointType
public EndPointType getEndpointType()
Gets the type of the endpoint.
Returns:
getName
public String getName()
Gets the name of the endpoint.
Returns:
getPort
public int getPort()
Gets the port assigned for this endpoint.
Returns:
getProtocol
public EndPointProtocol getProtocol()
Gets the protocol used by this endpoint.
Returns:
setEndpointType
public void setEndpointType(EndPointType endpointType)
Sets the type of the endpoint.
Parameters:
setName
public void setName(String name)
Sets the name of the endpoint.
Parameters:
setProtocol
public void setProtocol(EndPointProtocol protocol)
Sets the protocol used by this endpoint.
Parameters:
toString
public String toString()
Applies to
Azure SDK for Java