Struct aws_sdk_workmail::model::dns_record::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DnsRecord
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The RFC 1035 record type. Possible values: CNAME
, A
, MX
.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The RFC 1035 record type. Possible values: CNAME
, A
, MX
.
sourcepub fn hostname(self, input: impl Into<String>) -> Self
pub fn hostname(self, input: impl Into<String>) -> Self
The DNS hostname.- For example, domain.example.com
.
sourcepub fn set_hostname(self, input: Option<String>) -> Self
pub fn set_hostname(self, input: Option<String>) -> Self
The DNS hostname.- For example, domain.example.com
.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value returned by the DNS for a query to that hostname and record type.