Struct aws_sdk_batch::model::network_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NetworkConfiguration
.
Implementations§
source§impl 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 has a public IP address. For a job that's 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 in the Amazon Elastic Container Service Developer Guide. 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 has a public IP address. For a job that's 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 in the Amazon Elastic Container Service Developer Guide. The default value is "DISABLED
".
sourcepub fn build(self) -> NetworkConfiguration
pub fn build(self) -> NetworkConfiguration
Consumes the builder and constructs a NetworkConfiguration
.