@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodeEthereumAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Attributes of an Ethereum node.
Constructor and Description |
---|
NodeEthereumAttributes() |
Modifier and Type | Method and Description |
---|---|
NodeEthereumAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getHttpEndpoint()
The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client.
|
String |
getWebSocketEndpoint()
The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from
a client.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHttpEndpoint(String httpEndpoint)
The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client.
|
void |
setWebSocketEndpoint(String webSocketEndpoint)
The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from
a client.
|
String |
toString()
Returns a string representation of this object.
|
NodeEthereumAttributes |
withHttpEndpoint(String httpEndpoint)
The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client.
|
NodeEthereumAttributes |
withWebSocketEndpoint(String webSocketEndpoint)
The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from
a client.
|
public void setHttpEndpoint(String httpEndpoint)
The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.
httpEndpoint
- The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a
client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to
this endpoint are authenticated using Signature Version 4.public String getHttpEndpoint()
The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.
public NodeEthereumAttributes withHttpEndpoint(String httpEndpoint)
The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using Signature Version 4.
httpEndpoint
- The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a
client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to
this endpoint are authenticated using Signature Version 4.public void setWebSocketEndpoint(String webSocketEndpoint)
The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.
webSocketEndpoint
- The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket
connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket
connection. Connections to this endpoint are authenticated using Signature Version 4.public String getWebSocketEndpoint()
The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.
public NodeEthereumAttributes withWebSocketEndpoint(String webSocketEndpoint)
The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using Signature Version 4.
webSocketEndpoint
- The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket
connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket
connection. Connections to this endpoint are authenticated using Signature Version 4.public String toString()
toString
in class Object
Object.toString()
public NodeEthereumAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.