public class ResourceEndpointListItem
extends java.lang.Object
implements java.io.Serializable
An object that describes the endpoint of the signaling channel returned by
the GetSignalingChannelEndpoint API.
| Constructor and Description |
|---|
ResourceEndpointListItem() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getProtocol()
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API. |
java.lang.String |
getResourceEndpoint()
The endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint API. |
int |
hashCode() |
void |
setProtocol(ChannelProtocol protocol)
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API. |
void |
setProtocol(java.lang.String protocol)
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API. |
void |
setResourceEndpoint(java.lang.String resourceEndpoint)
The endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint API. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResourceEndpointListItem |
withProtocol(ChannelProtocol protocol)
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API. |
ResourceEndpointListItem |
withProtocol(java.lang.String protocol)
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API. |
ResourceEndpointListItem |
withResourceEndpoint(java.lang.String resourceEndpoint)
The endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint API. |
public java.lang.String getProtocol()
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API.
Constraints:
Allowed Values: WSS, HTTPS
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API.
ChannelProtocolpublic void setProtocol(java.lang.String protocol)
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API.
Constraints:
Allowed Values: WSS, HTTPS
protocol -
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API.
ChannelProtocolpublic ResourceEndpointListItem withProtocol(java.lang.String protocol)
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: WSS, HTTPS
protocol -
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API.
ChannelProtocolpublic void setProtocol(ChannelProtocol protocol)
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API.
Constraints:
Allowed Values: WSS, HTTPS
protocol -
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API.
ChannelProtocolpublic ResourceEndpointListItem withProtocol(ChannelProtocol protocol)
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: WSS, HTTPS
protocol -
The protocol of the signaling channel returned by the
GetSignalingChannelEndpoint API.
ChannelProtocolpublic java.lang.String getResourceEndpoint()
The endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint API.
The endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint API.
public void setResourceEndpoint(java.lang.String resourceEndpoint)
The endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint API.
resourceEndpoint -
The endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint API.
public ResourceEndpointListItem withResourceEndpoint(java.lang.String resourceEndpoint)
The endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint API.
Returns a reference to this object so that method calls can be chained together.
resourceEndpoint -
The endpoint of the signaling channel returned by the
GetSignalingChannelEndpoint API.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.