pub struct UpdateMetadataEndpointBuilder { /* private fields */ }
Expand description
Builder for UpdateMetadataEndpoint
.
Implementations§
source§impl UpdateMetadataEndpointBuilder
impl UpdateMetadataEndpointBuilder
sourcepub fn port(&mut self, value: i32) -> &mut Self
pub fn port(&mut self, value: i32) -> &mut Self
The port of this endpoint
Supported API versions: 1-7
sourcepub fn host(&mut self, value: StrBytes) -> &mut Self
pub fn host(&mut self, value: StrBytes) -> &mut Self
The hostname of this endpoint
Supported API versions: 1-7
sourcepub fn listener(&mut self, value: StrBytes) -> &mut Self
pub fn listener(&mut self, value: StrBytes) -> &mut Self
The listener name.
Supported API versions: 3-7
sourcepub fn security_protocol(&mut self, value: i16) -> &mut Self
pub fn security_protocol(&mut self, value: i16) -> &mut Self
The security protocol type.
Supported API versions: 1-7
sourcepub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Vec<u8>>
) -> &mut Self
pub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Vec<u8>>
) -> &mut Self
Other tagged fields
sourcepub fn build(
&self
) -> Result<UpdateMetadataEndpoint, UpdateMetadataEndpointBuilderError>
pub fn build(
&self
) -> Result<UpdateMetadataEndpoint, UpdateMetadataEndpointBuilderError>
Trait Implementations§
source§impl Clone for UpdateMetadataEndpointBuilder
impl Clone for UpdateMetadataEndpointBuilder
source§fn clone(&self) -> UpdateMetadataEndpointBuilder
fn clone(&self) -> UpdateMetadataEndpointBuilder
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