@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuntimePlatform extends Object implements Serializable, Cloneable, StructuredPojo
Information about the platform for the Amazon ECS service or task.
For more information about RuntimePlatform, see RuntimePlatform in the Amazon Elastic Container Service Developer Guide.
| Constructor and Description |
|---|
RuntimePlatform() |
| Modifier and Type | Method and Description |
|---|---|
RuntimePlatform |
clone() |
boolean |
equals(Object obj) |
String |
getCpuArchitecture()
The CPU architecture.
|
String |
getOperatingSystemFamily()
The operating system.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCpuArchitecture(String cpuArchitecture)
The CPU architecture.
|
void |
setOperatingSystemFamily(String operatingSystemFamily)
The operating system.
|
String |
toString()
Returns a string representation of this object.
|
RuntimePlatform |
withCpuArchitecture(CPUArchitecture cpuArchitecture)
The CPU architecture.
|
RuntimePlatform |
withCpuArchitecture(String cpuArchitecture)
The CPU architecture.
|
RuntimePlatform |
withOperatingSystemFamily(OSFamily operatingSystemFamily)
The operating system.
|
RuntimePlatform |
withOperatingSystemFamily(String operatingSystemFamily)
The operating system.
|
public void setCpuArchitecture(String cpuArchitecture)
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.
cpuArchitecture - 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.
CPUArchitecturepublic String getCpuArchitecture()
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.
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.
CPUArchitecturepublic RuntimePlatform withCpuArchitecture(String cpuArchitecture)
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.
cpuArchitecture - 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.
CPUArchitecturepublic RuntimePlatform withCpuArchitecture(CPUArchitecture cpuArchitecture)
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.
cpuArchitecture - 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.
CPUArchitecturepublic void setOperatingSystemFamily(String operatingSystemFamily)
The operating system.
operatingSystemFamily - The operating system.OSFamilypublic String getOperatingSystemFamily()
The operating system.
OSFamilypublic RuntimePlatform withOperatingSystemFamily(String operatingSystemFamily)
The operating system.
operatingSystemFamily - The operating system.OSFamilypublic RuntimePlatform withOperatingSystemFamily(OSFamily operatingSystemFamily)
The operating system.
operatingSystemFamily - The operating system.OSFamilypublic String toString()
toString in class ObjectObject.toString()public RuntimePlatform clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.