Class RuntimePlatform
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuntimePlatform.Builder,RuntimePlatform>
An object that represents the compute environment architecture for Batch jobs on Fargate.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimePlatform.Builderbuilder()final StringThe vCPU architecture.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe operating system for the compute environment.static Class<? extends RuntimePlatform.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
operatingSystemFamily
The operating system for the compute environment. Valid values are:
LINUX(default),WINDOWS_SERVER_2019_CORE,WINDOWS_SERVER_2019_FULL,WINDOWS_SERVER_2022_CORE, andWINDOWS_SERVER_2022_FULL.The following parameters can’t be set for Windows containers:
linuxParameters,privileged,user,ulimits,readonlyRootFilesystem, andefsVolumeConfiguration.The Batch Scheduler checks the compute environments that are attached to the job queue before registering a task definition with Fargate. In this scenario, the job queue is where the job is submitted. If the job requires a Windows container and the first compute environment is
LINUX, the compute environment is skipped and the next compute environment is checked until a Windows-based compute environment is found.Fargate Spot is not supported for
ARM64and Windows-based containers on Fargate. A job queue will be blocked if a FargateARM64or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach bothFARGATEandFARGATE_SPOTcompute environments to the same job queue.- Returns:
- The operating system for the compute environment. Valid values are:
LINUX(default),WINDOWS_SERVER_2019_CORE,WINDOWS_SERVER_2019_FULL,WINDOWS_SERVER_2022_CORE, andWINDOWS_SERVER_2022_FULL.The following parameters can’t be set for Windows containers:
linuxParameters,privileged,user,ulimits,readonlyRootFilesystem, andefsVolumeConfiguration.The Batch Scheduler checks the compute environments that are attached to the job queue before registering a task definition with Fargate. In this scenario, the job queue is where the job is submitted. If the job requires a Windows container and the first compute environment is
LINUX, the compute environment is skipped and the next compute environment is checked until a Windows-based compute environment is found.Fargate Spot is not supported for
ARM64and Windows-based containers on Fargate. A job queue will be blocked if a FargateARM64or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach bothFARGATEandFARGATE_SPOTcompute environments to the same job queue.
-
cpuArchitecture
The vCPU architecture. The default value is
X86_64. Valid values areX86_64andARM64.This parameter must be set to
X86_64for Windows containers.Fargate Spot is not supported for
ARM64and Windows-based containers on Fargate. A job queue will be blocked if a FargateARM64or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach bothFARGATEandFARGATE_SPOTcompute environments to the same job queue.- Returns:
- The vCPU architecture. The default value is
X86_64. Valid values areX86_64andARM64.This parameter must be set to
X86_64for Windows containers.Fargate Spot is not supported for
ARM64and Windows-based containers on Fargate. A job queue will be blocked if a FargateARM64or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach bothFARGATEandFARGATE_SPOTcompute environments to the same job queue.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RuntimePlatform.Builder,RuntimePlatform> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-