@Generated(value="software.amazon.awssdk:codegen") public final class ResourceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceConfiguration.Builder,ResourceConfiguration>
The configuration of the resource used to execute the "containerAction".
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static ResourceConfiguration.Builder |
builder() |
ComputeType |
computeType()
The type of the compute resource used to execute the "containerAction".
|
String |
computeTypeAsString()
The type of the compute resource used to execute the "containerAction".
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceConfiguration.Builder> |
serializableBuilderClass() |
ResourceConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
volumeSizeInGB()
The size (in GB) of the persistent storage available to the resource instance used to execute the
"containerAction" (min: 1, max: 50).
|
copy
public ComputeType computeType()
The type of the compute resource used to execute the "containerAction". Possible values are: ACU_1 (vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).
If the service returns an enum value that is not available in the current SDK version, computeType
will
return ComputeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
computeTypeAsString()
.
ComputeType
public String computeTypeAsString()
The type of the compute resource used to execute the "containerAction". Possible values are: ACU_1 (vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).
If the service returns an enum value that is not available in the current SDK version, computeType
will
return ComputeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
computeTypeAsString()
.
ComputeType
public Integer volumeSizeInGB()
The size (in GB) of the persistent storage available to the resource instance used to execute the "containerAction" (min: 1, max: 50).
public ResourceConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceConfiguration.Builder,ResourceConfiguration>
public static ResourceConfiguration.Builder builder()
public static Class<? extends ResourceConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.