Class FleetComputeConfiguration


  • public final class FleetComputeConfiguration
    extends java.lang.Object
    • Method Detail

      • disk

        public java.util.Optional<java.lang.Integer> disk()
        Returns:
        Amount of disk space of the instance type included in the fleet.
      • instanceType

        public java.util.Optional<java.lang.String> instanceType()
        Returns:
        EC2 instance type to be launched in the fleet. Specify only if `computeType` is set to `CUSTOM_INSTANCE_TYPE`. See [Supported instance families](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.instance-types).
      • machineType

        public java.util.Optional<java.lang.String> machineType()
        Returns:
        Machine type of the instance type included in the fleet. Valid values: `GENERAL`, `NVME`. Specify only if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.
      • memory

        public java.util.Optional<java.lang.Integer> memory()
        Returns:
        Amount of memory of the instance type included in the fleet. Specify only if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.
      • vcpu

        public java.util.Optional<java.lang.Integer> vcpu()
        Returns:
        Number of vCPUs of the instance type included in the fleet. Specify only if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.