Struct aws_sdk_dax::model::endpoint::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Endpoint
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
The DNS hostname of the endpoint.
sourcepub fn port(self, input: i32) -> Self
pub fn port(self, input: i32) -> Self
The port number that applications should use to connect to the endpoint.
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
The port number that applications should use to connect to the endpoint.
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax" protocol and 9111 for the "daxs" protocol.