Struct aws_sdk_securityhub::model::aws_elb_load_balancer_backend_server_description::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AwsElbLoadBalancerBackendServerDescription
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn instance_port(self, input: i32) -> Self
pub fn instance_port(self, input: i32) -> Self
The port on which the EC2 instance is listening.
sourcepub fn set_instance_port(self, input: Option<i32>) -> Self
pub fn set_instance_port(self, input: Option<i32>) -> Self
The port on which the EC2 instance is listening.
sourcepub fn policy_names(self, input: impl Into<String>) -> Self
pub fn policy_names(self, input: impl Into<String>) -> Self
Appends an item to policy_names
.
To override the contents of this collection use set_policy_names
.
The names of the policies that are enabled for the EC2 instance.
sourcepub fn set_policy_names(self, input: Option<Vec<String>>) -> Self
pub fn set_policy_names(self, input: Option<Vec<String>>) -> Self
The names of the policies that are enabled for the EC2 instance.
sourcepub fn build(self) -> AwsElbLoadBalancerBackendServerDescription
pub fn build(self) -> AwsElbLoadBalancerBackendServerDescription
Consumes the builder and constructs a AwsElbLoadBalancerBackendServerDescription
.