Struct aws_sdk_batch::model::network_configuration::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for NetworkConfiguration.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn assign_public_ip(self, input: AssignPublicIp) -> Self
pub fn assign_public_ip(self, input: AssignPublicIp) -> Self
Indicates whether the job should have a public IP address. For a job that is running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking. The default value is "DISABLED".
sourcepub fn set_assign_public_ip(self, input: Option<AssignPublicIp>) -> Self
pub fn set_assign_public_ip(self, input: Option<AssignPublicIp>) -> Self
Indicates whether the job should have a public IP address. For a job that is running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking. The default value is "DISABLED".
sourcepub fn build(self) -> NetworkConfiguration
pub fn build(self) -> NetworkConfiguration
Consumes the builder and constructs a NetworkConfiguration.