Package | Description |
---|---|
com.amazonaws.services.ecs.model | |
com.amazonaws.services.ecs.model.transform |
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Resource> |
ContainerInstance.registeredResources
The registered resources on the container instance that are in use by
current tasks.
|
private SdkInternalList<Resource> |
ContainerInstance.remainingResources
The remaining resources of the container instance that are available for
new tasks.
|
private SdkInternalList<Resource> |
RegisterContainerInstanceRequest.totalResources
The resources available on the instance.
|
Modifier and Type | Method and Description |
---|---|
Resource |
Resource.clone() |
Resource |
Resource.withDoubleValue(java.lang.Double doubleValue)
When the
doubleValue type is set, the value of the resource
must be a double precision floating-point type. |
Resource |
Resource.withIntegerValue(java.lang.Integer integerValue)
When the
integerValue type is set, the value of the resource
must be an integer. |
Resource |
Resource.withLongValue(java.lang.Long longValue)
When the
longValue type is set, the value of the resource
must be an extended precision floating-point type. |
Resource |
Resource.withName(java.lang.String name)
The name of the resource, such as
CPU , MEMORY ,
PORTS , or a user-defined resource. |
Resource |
Resource.withStringSetValue(java.util.Collection<java.lang.String> stringSetValue)
When the
stringSetValue type is set, the value of the
resource must be a string type. |
Resource |
Resource.withStringSetValue(java.lang.String... stringSetValue)
When the
stringSetValue type is set, the value of the
resource must be a string type. |
Resource |
Resource.withType(java.lang.String type)
The type of the resource, such as
INTEGER ,
DOUBLE , LONG , or STRINGSET . |
Modifier and Type | Method and Description |
---|---|
java.util.List<Resource> |
ContainerInstance.getRegisteredResources()
The registered resources on the container instance that are in use by
current tasks.
|
java.util.List<Resource> |
ContainerInstance.getRemainingResources()
The remaining resources of the container instance that are available for
new tasks.
|
java.util.List<Resource> |
RegisterContainerInstanceRequest.getTotalResources()
The resources available on the instance.
|
Modifier and Type | Method and Description |
---|---|
ContainerInstance |
ContainerInstance.withRegisteredResources(Resource... registeredResources)
The registered resources on the container instance that are in use by
current tasks.
|
ContainerInstance |
ContainerInstance.withRemainingResources(Resource... remainingResources)
The remaining resources of the container instance that are available for
new tasks.
|
RegisterContainerInstanceRequest |
RegisterContainerInstanceRequest.withTotalResources(Resource... totalResources)
The resources available on the instance.
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerInstance.setRegisteredResources(java.util.Collection<Resource> registeredResources)
The registered resources on the container instance that are in use by
current tasks.
|
void |
ContainerInstance.setRemainingResources(java.util.Collection<Resource> remainingResources)
The remaining resources of the container instance that are available for
new tasks.
|
void |
RegisterContainerInstanceRequest.setTotalResources(java.util.Collection<Resource> totalResources)
The resources available on the instance.
|
ContainerInstance |
ContainerInstance.withRegisteredResources(java.util.Collection<Resource> registeredResources)
The registered resources on the container instance that are in use by
current tasks.
|
ContainerInstance |
ContainerInstance.withRemainingResources(java.util.Collection<Resource> remainingResources)
The remaining resources of the container instance that are available for
new tasks.
|
RegisterContainerInstanceRequest |
RegisterContainerInstanceRequest.withTotalResources(java.util.Collection<Resource> totalResources)
The resources available on the instance.
|
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceJsonUnmarshaller.unmarshall(JsonUnmarshallerContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceJsonMarshaller.marshall(Resource resource,
StructuredJsonGenerator jsonGenerator)
Marshall the given parameter object, and output to a SdkJsonGenerator
|