Struct aws_sdk_securityhub::model::network_path_component::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NetworkPathComponent
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn component_id(self, input: impl Into<String>) -> Self
pub fn component_id(self, input: impl Into<String>) -> Self
The identifier of a component in the network path.
sourcepub fn set_component_id(self, input: Option<String>) -> Self
pub fn set_component_id(self, input: Option<String>) -> Self
The identifier of a component in the network path.
sourcepub fn component_type(self, input: impl Into<String>) -> Self
pub fn component_type(self, input: impl Into<String>) -> Self
The type of component.
sourcepub fn set_component_type(self, input: Option<String>) -> Self
pub fn set_component_type(self, input: Option<String>) -> Self
The type of component.
sourcepub fn egress(self, input: NetworkHeader) -> Self
pub fn egress(self, input: NetworkHeader) -> Self
Information about the component that comes after the current component in the network path.
sourcepub fn set_egress(self, input: Option<NetworkHeader>) -> Self
pub fn set_egress(self, input: Option<NetworkHeader>) -> Self
Information about the component that comes after the current component in the network path.
sourcepub fn ingress(self, input: NetworkHeader) -> Self
pub fn ingress(self, input: NetworkHeader) -> Self
Information about the component that comes before the current node in the network path.
sourcepub fn set_ingress(self, input: Option<NetworkHeader>) -> Self
pub fn set_ingress(self, input: Option<NetworkHeader>) -> Self
Information about the component that comes before the current node in the network path.
sourcepub fn build(self) -> NetworkPathComponent
pub fn build(self) -> NetworkPathComponent
Consumes the builder and constructs a NetworkPathComponent
.