pub struct Builder { /* private fields */ }
Expand description
A builder for BackendServerDescription
.
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 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 enabled for the EC2 instance.
sourcepub fn build(self) -> BackendServerDescription
pub fn build(self) -> BackendServerDescription
Consumes the builder and constructs a BackendServerDescription
.