Struct aws_sdk_ec2::model::PrivateDnsDetails
source · #[non_exhaustive]pub struct PrivateDnsDetails { /* private fields */ }
Expand description
Information about the Private DNS name for interface endpoints.
Implementations§
source§impl PrivateDnsDetails
impl PrivateDnsDetails
sourcepub fn private_dns_name(&self) -> Option<&str>
pub fn private_dns_name(&self) -> Option<&str>
The private DNS name assigned to the VPC endpoint service.
source§impl PrivateDnsDetails
impl PrivateDnsDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PrivateDnsDetails
.
Examples found in repository?
src/xml_deser.rs (line 66394)
66390 66391 66392 66393 66394 66395 66396 66397 66398 66399 66400 66401 66402 66403 66404 66405 66406 66407 66408 66409 66410 66411 66412 66413 66414
pub fn deser_structure_crate_model_private_dns_details(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::PrivateDnsDetails, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::PrivateDnsDetails::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("privateDnsName") /* PrivateDnsName com.amazonaws.ec2#PrivateDnsDetails$PrivateDnsName */ => {
let var_3264 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_private_dns_name(var_3264);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for PrivateDnsDetails
impl Clone for PrivateDnsDetails
source§fn clone(&self) -> PrivateDnsDetails
fn clone(&self) -> PrivateDnsDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more