@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 informataion 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
avaiable 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 avaiable for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
CPUArchitecture
public 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
avaiable 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 avaiable for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
CPUArchitecture
public 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
avaiable 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 avaiable for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
CPUArchitecture
public 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
avaiable 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 avaiable for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
CPUArchitecture
public void setOperatingSystemFamily(String operatingSystemFamily)
The operating system.
operatingSystemFamily
- The operating system.OSFamily
public String getOperatingSystemFamily()
The operating system.
OSFamily
public RuntimePlatform withOperatingSystemFamily(String operatingSystemFamily)
The operating system.
operatingSystemFamily
- The operating system.OSFamily
public RuntimePlatform withOperatingSystemFamily(OSFamily operatingSystemFamily)
The operating system.
operatingSystemFamily
- The operating system.OSFamily
public String toString()
toString
in class Object
Object.toString()
public RuntimePlatform clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.