Struct aws_sdk_appmesh::model::dns_service_discovery::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DnsServiceDiscovery
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn hostname(self, input: impl Into<String>) -> Self
pub fn hostname(self, input: impl Into<String>) -> Self
Specifies the DNS service discovery hostname for the virtual node.
sourcepub fn set_hostname(self, input: Option<String>) -> Self
pub fn set_hostname(self, input: Option<String>) -> Self
Specifies the DNS service discovery hostname for the virtual node.
sourcepub fn response_type(self, input: DnsResponseType) -> Self
pub fn response_type(self, input: DnsResponseType) -> Self
Specifies the DNS response type for the virtual node.
sourcepub fn set_response_type(self, input: Option<DnsResponseType>) -> Self
pub fn set_response_type(self, input: Option<DnsResponseType>) -> Self
Specifies the DNS response type for the virtual node.
sourcepub fn ip_preference(self, input: IpPreference) -> Self
pub fn ip_preference(self, input: IpPreference) -> Self
The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.
sourcepub fn set_ip_preference(self, input: Option<IpPreference>) -> Self
pub fn set_ip_preference(self, input: Option<IpPreference>) -> Self
The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.
sourcepub fn build(self) -> DnsServiceDiscovery
pub fn build(self) -> DnsServiceDiscovery
Consumes the builder and constructs a DnsServiceDiscovery
.