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.
ChannelProtocol
public 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.
ChannelProtocol
public 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.
ChannelProtocol
public 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.
ChannelProtocol
public 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.
ChannelProtocol
public 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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.