Uses of Class
com.amazonaws.services.ecs.model.Resource
Packages that use Resource
-
Uses of Resource in com.amazonaws.services.ecs.model
Methods in com.amazonaws.services.ecs.model that return ResourceModifier and TypeMethodDescriptionResource.clone()
Resource.withDoubleValue
(Double doubleValue) When thedoubleValue
type is set, the value of the resource must be a double precision floating-point type.Resource.withIntegerValue
(Integer integerValue) When theintegerValue
type is set, the value of the resource must be an integer.Resource.withLongValue
(Long longValue) When thelongValue
type is set, the value of the resource must be an extended precision floating-point type.The name of the resource, such asCPU
,MEMORY
,PORTS
, or a user-defined resource.Resource.withStringSetValue
(String... stringSetValue) When thestringSetValue
type is set, the value of the resource must be a string type.Resource.withStringSetValue
(Collection<String> stringSetValue) When thestringSetValue
type is set, the value of the resource must be a string type.The type of the resource, such asINTEGER
,DOUBLE
,LONG
, orSTRINGSET
.Methods in com.amazonaws.services.ecs.model that return types with arguments of type ResourceModifier and TypeMethodDescriptionContainerInstance.getRegisteredResources()
The registered resources on the container instance that are in use by current tasks.ContainerInstance.getRemainingResources()
The remaining resources of the container instance that are available for new tasks.RegisterContainerInstanceRequest.getTotalResources()
The resources available on the instance.Methods in com.amazonaws.services.ecs.model with parameters of type ResourceModifier and TypeMethodDescriptionContainerInstance.withRegisteredResources
(Resource... registeredResources) The registered resources on the container instance that are in use by current tasks.ContainerInstance.withRemainingResources
(Resource... remainingResources) The remaining resources of the container instance that are available for new tasks.RegisterContainerInstanceRequest.withTotalResources
(Resource... totalResources) The resources available on the instance.Method parameters in com.amazonaws.services.ecs.model with type arguments of type ResourceModifier and TypeMethodDescriptionvoid
ContainerInstance.setRegisteredResources
(Collection<Resource> registeredResources) The registered resources on the container instance that are in use by current tasks.void
ContainerInstance.setRemainingResources
(Collection<Resource> remainingResources) The remaining resources of the container instance that are available for new tasks.void
RegisterContainerInstanceRequest.setTotalResources
(Collection<Resource> totalResources) The resources available on the instance.ContainerInstance.withRegisteredResources
(Collection<Resource> registeredResources) The registered resources on the container instance that are in use by current tasks.ContainerInstance.withRemainingResources
(Collection<Resource> remainingResources) The remaining resources of the container instance that are available for new tasks.RegisterContainerInstanceRequest.withTotalResources
(Collection<Resource> totalResources) The resources available on the instance.