| Package | Description |
|---|---|
| com.amazonaws.services.ecs.model |
| Modifier and Type | Method and Description |
|---|---|
Resource |
Resource.clone() |
Resource |
Resource.withDoubleValue(Double doubleValue)
When the
doubleValue type is set, the value of the resource must be a double precision
floating-point type. |
Resource |
Resource.withIntegerValue(Integer integerValue)
When the
integerValue type is set, the value of the resource must be an integer. |
Resource |
Resource.withLongValue(Long longValue)
When the
longValue type is set, the value of the resource must be an extended precision
floating-point type. |
Resource |
Resource.withName(String name)
The name of the resource, such as
cpu, memory, ports, or a user-defined
resource. |
Resource |
Resource.withStringSetValue(Collection<String> stringSetValue)
When the
stringSetValue type is set, the value of the resource must be a string type. |
Resource |
Resource.withStringSetValue(String... stringSetValue)
When the
stringSetValue type is set, the value of the resource must be a string type. |
Resource |
Resource.withType(String type)
The type of the resource, such as
INTEGER, DOUBLE, LONG, or
STRINGSET. |
| Modifier and Type | Method and Description |
|---|---|
List<Resource> |
ContainerInstance.getRegisteredResources()
For CPU and memory resource types, this parameter describes the amount of each resource that was available on the
container instance when the container agent registered it with Amazon ECS; this value represents the total amount
of CPU and memory that can be allocated on this container instance to tasks.
|
List<Resource> |
ContainerInstance.getRemainingResources()
For CPU and memory resource types, this parameter describes the remaining CPU and memory on the that has not
already been allocated to tasks (and is therefore available for new tasks).
|
List<Resource> |
RegisterContainerInstanceRequest.getTotalResources()
The resources available on the instance.
|
| Modifier and Type | Method and Description |
|---|---|
ContainerInstance |
ContainerInstance.withRegisteredResources(Resource... registeredResources)
For CPU and memory resource types, this parameter describes the amount of each resource that was available on the
container instance when the container agent registered it with Amazon ECS; this value represents the total amount
of CPU and memory that can be allocated on this container instance to tasks.
|
ContainerInstance |
ContainerInstance.withRemainingResources(Resource... remainingResources)
For CPU and memory resource types, this parameter describes the remaining CPU and memory on the that has not
already been allocated to tasks (and is therefore available for new tasks).
|
RegisterContainerInstanceRequest |
RegisterContainerInstanceRequest.withTotalResources(Resource... totalResources)
The resources available on the instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerInstance.setRegisteredResources(Collection<Resource> registeredResources)
For CPU and memory resource types, this parameter describes the amount of each resource that was available on the
container instance when the container agent registered it with Amazon ECS; this value represents the total amount
of CPU and memory that can be allocated on this container instance to tasks.
|
void |
ContainerInstance.setRemainingResources(Collection<Resource> remainingResources)
For CPU and memory resource types, this parameter describes the remaining CPU and memory on the that has not
already been allocated to tasks (and is therefore available for new tasks).
|
void |
RegisterContainerInstanceRequest.setTotalResources(Collection<Resource> totalResources)
The resources available on the instance.
|
ContainerInstance |
ContainerInstance.withRegisteredResources(Collection<Resource> registeredResources)
For CPU and memory resource types, this parameter describes the amount of each resource that was available on the
container instance when the container agent registered it with Amazon ECS; this value represents the total amount
of CPU and memory that can be allocated on this container instance to tasks.
|
ContainerInstance |
ContainerInstance.withRemainingResources(Collection<Resource> remainingResources)
For CPU and memory resource types, this parameter describes the remaining CPU and memory on the that has not
already been allocated to tasks (and is therefore available for new tasks).
|
RegisterContainerInstanceRequest |
RegisterContainerInstanceRequest.withTotalResources(Collection<Resource> totalResources)
The resources available on the instance.
|
Copyright © 2018. All rights reserved.