Struct aws_sdk_acm::model::resource_record::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ResourceRecord
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the DNS record to create in your domain. This is supplied by ACM.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the DNS record to create in your domain. This is supplied by ACM.
sourcepub fn type(self, input: RecordType) -> Self
pub fn type(self, input: RecordType) -> Self
The type of DNS record. Currently this can be CNAME
.
sourcepub fn set_type(self, input: Option<RecordType>) -> Self
pub fn set_type(self, input: Option<RecordType>) -> Self
The type of DNS record. Currently this can be CNAME
.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value of the CNAME record to add to your DNS database. This is supplied by ACM.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value of the CNAME record to add to your DNS database. This is supplied by ACM.
sourcepub fn build(self) -> ResourceRecord
pub fn build(self) -> ResourceRecord
Consumes the builder and constructs a ResourceRecord
.