Class FleetComputeConfigurationArgs.Builder

    • Method Detail

      • disk

        public FleetComputeConfigurationArgs.Builder disk​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> disk)
        Parameters:
        disk - Amount of disk space of the instance type included in the fleet.
        Returns:
        builder
      • disk

        public FleetComputeConfigurationArgs.Builder disk​(java.lang.Integer disk)
        Parameters:
        disk - Amount of disk space of the instance type included in the fleet.
        Returns:
        builder
      • instanceType

        public FleetComputeConfigurationArgs.Builder instanceType​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> instanceType)
        Parameters:
        instanceType - 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).
        Returns:
        builder
      • instanceType

        public FleetComputeConfigurationArgs.Builder instanceType​(java.lang.String instanceType)
        Parameters:
        instanceType - 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).
        Returns:
        builder
      • machineType

        public FleetComputeConfigurationArgs.Builder machineType​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> machineType)
        Parameters:
        machineType - Machine type of the instance type included in the fleet. Valid values: `GENERAL`, `NVME`. Specify only if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.
        Returns:
        builder
      • machineType

        public FleetComputeConfigurationArgs.Builder machineType​(java.lang.String machineType)
        Parameters:
        machineType - Machine type of the instance type included in the fleet. Valid values: `GENERAL`, `NVME`. Specify only if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.
        Returns:
        builder
      • memory

        public FleetComputeConfigurationArgs.Builder memory​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> memory)
        Parameters:
        memory - Amount of memory of the instance type included in the fleet. Specify only if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.
        Returns:
        builder
      • memory

        public FleetComputeConfigurationArgs.Builder memory​(java.lang.Integer memory)
        Parameters:
        memory - Amount of memory of the instance type included in the fleet. Specify only if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.
        Returns:
        builder
      • vcpu

        public FleetComputeConfigurationArgs.Builder vcpu​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> vcpu)
        Parameters:
        vcpu - Number of vCPUs of the instance type included in the fleet. Specify only if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.
        Returns:
        builder
      • vcpu

        public FleetComputeConfigurationArgs.Builder vcpu​(java.lang.Integer vcpu)
        Parameters:
        vcpu - Number of vCPUs of the instance type included in the fleet. Specify only if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE`.
        Returns:
        builder