Struct aws_sdk_securityhub::model::network::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Network
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn direction(self, input: NetworkDirection) -> Self
pub fn direction(self, input: NetworkDirection) -> Self
The direction of network traffic associated with a finding.
sourcepub fn set_direction(self, input: Option<NetworkDirection>) -> Self
pub fn set_direction(self, input: Option<NetworkDirection>) -> Self
The direction of network traffic associated with a finding.
sourcepub fn protocol(self, input: impl Into<String>) -> Self
pub fn protocol(self, input: impl Into<String>) -> Self
The protocol of network-related information about a finding.
sourcepub fn set_protocol(self, input: Option<String>) -> Self
pub fn set_protocol(self, input: Option<String>) -> Self
The protocol of network-related information about a finding.
sourcepub fn open_port_range(self, input: PortRange) -> Self
pub fn open_port_range(self, input: PortRange) -> Self
The range of open ports that is present on the network.
sourcepub fn set_open_port_range(self, input: Option<PortRange>) -> Self
pub fn set_open_port_range(self, input: Option<PortRange>) -> Self
The range of open ports that is present on the network.
sourcepub fn source_ip_v4(self, input: impl Into<String>) -> Self
pub fn source_ip_v4(self, input: impl Into<String>) -> Self
The source IPv4 address of network-related information about a finding.
sourcepub fn set_source_ip_v4(self, input: Option<String>) -> Self
pub fn set_source_ip_v4(self, input: Option<String>) -> Self
The source IPv4 address of network-related information about a finding.
sourcepub fn source_ip_v6(self, input: impl Into<String>) -> Self
pub fn source_ip_v6(self, input: impl Into<String>) -> Self
The source IPv6 address of network-related information about a finding.
sourcepub fn set_source_ip_v6(self, input: Option<String>) -> Self
pub fn set_source_ip_v6(self, input: Option<String>) -> Self
The source IPv6 address of network-related information about a finding.
sourcepub fn source_port(self, input: i32) -> Self
pub fn source_port(self, input: i32) -> Self
The source port of network-related information about a finding.
sourcepub fn set_source_port(self, input: Option<i32>) -> Self
pub fn set_source_port(self, input: Option<i32>) -> Self
The source port of network-related information about a finding.
sourcepub fn source_domain(self, input: impl Into<String>) -> Self
pub fn source_domain(self, input: impl Into<String>) -> Self
The source domain of network-related information about a finding.
sourcepub fn set_source_domain(self, input: Option<String>) -> Self
pub fn set_source_domain(self, input: Option<String>) -> Self
The source domain of network-related information about a finding.
sourcepub fn source_mac(self, input: impl Into<String>) -> Self
pub fn source_mac(self, input: impl Into<String>) -> Self
The source media access control (MAC) address of network-related information about a finding.
sourcepub fn set_source_mac(self, input: Option<String>) -> Self
pub fn set_source_mac(self, input: Option<String>) -> Self
The source media access control (MAC) address of network-related information about a finding.
sourcepub fn destination_ip_v4(self, input: impl Into<String>) -> Self
pub fn destination_ip_v4(self, input: impl Into<String>) -> Self
The destination IPv4 address of network-related information about a finding.
sourcepub fn set_destination_ip_v4(self, input: Option<String>) -> Self
pub fn set_destination_ip_v4(self, input: Option<String>) -> Self
The destination IPv4 address of network-related information about a finding.
sourcepub fn destination_ip_v6(self, input: impl Into<String>) -> Self
pub fn destination_ip_v6(self, input: impl Into<String>) -> Self
The destination IPv6 address of network-related information about a finding.
sourcepub fn set_destination_ip_v6(self, input: Option<String>) -> Self
pub fn set_destination_ip_v6(self, input: Option<String>) -> Self
The destination IPv6 address of network-related information about a finding.
sourcepub fn destination_port(self, input: i32) -> Self
pub fn destination_port(self, input: i32) -> Self
The destination port of network-related information about a finding.
sourcepub fn set_destination_port(self, input: Option<i32>) -> Self
pub fn set_destination_port(self, input: Option<i32>) -> Self
The destination port of network-related information about a finding.
sourcepub fn destination_domain(self, input: impl Into<String>) -> Self
pub fn destination_domain(self, input: impl Into<String>) -> Self
The destination domain of network-related information about a finding.
sourcepub fn set_destination_domain(self, input: Option<String>) -> Self
pub fn set_destination_domain(self, input: Option<String>) -> Self
The destination domain of network-related information about a finding.