Struct aws_sdk_ecs::model::runtime_platform::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RuntimePlatform.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cpu_architecture(self, input: CpuArchitecture) -> Self
pub fn cpu_architecture(self, input: CpuArchitecture) -> Self
The CPU architecture.
You can run your Linux tasks on an ARM-based platform by setting the value to ARM64. This option is available for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
sourcepub fn set_cpu_architecture(self, input: Option<CpuArchitecture>) -> Self
pub fn set_cpu_architecture(self, input: Option<CpuArchitecture>) -> Self
The CPU architecture.
You can run your Linux tasks on an ARM-based platform by setting the value to ARM64. This option is available for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
sourcepub fn operating_system_family(self, input: OsFamily) -> Self
pub fn operating_system_family(self, input: OsFamily) -> Self
The operating system.
sourcepub fn set_operating_system_family(self, input: Option<OsFamily>) -> Self
pub fn set_operating_system_family(self, input: Option<OsFamily>) -> Self
The operating system.
sourcepub fn build(self) -> RuntimePlatform
pub fn build(self) -> RuntimePlatform
Consumes the builder and constructs a RuntimePlatform.