Class CapacityTaskArgs.Builder

  • Enclosing class:
    CapacityTaskArgs

    public static final class CapacityTaskArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • assetId

        public CapacityTaskArgs.Builder assetId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> assetId)
        Parameters:
        assetId - ID of a specific Outposts asset (hardware server) to target for the capacity task. If omitted, AWS selects an appropriate asset automatically. Discover valid asset IDs with the `aws.outposts.getAssets` data source. Changing this value forces a new resource.
        Returns:
        builder
      • assetId

        public CapacityTaskArgs.Builder assetId​(java.lang.String assetId)
        Parameters:
        assetId - ID of a specific Outposts asset (hardware server) to target for the capacity task. If omitted, AWS selects an appropriate asset automatically. Discover valid asset IDs with the `aws.outposts.getAssets` data source. Changing this value forces a new resource.
        Returns:
        builder
      • instancePools

        public CapacityTaskArgs.Builder instancePools​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<CapacityTaskInstancePoolArgs>> instancePools)
        Parameters:
        instancePools - One or more `instancePool` blocks defining the desired instance-type layout for the Outpost. See below. At least one block is required. Changing any value forces a new resource.
        Returns:
        builder
      • instancePools

        public CapacityTaskArgs.Builder instancePools​(java.util.List<CapacityTaskInstancePoolArgs> instancePools)
        Parameters:
        instancePools - One or more `instancePool` blocks defining the desired instance-type layout for the Outpost. See below. At least one block is required. Changing any value forces a new resource.
        Returns:
        builder
      • instancePools

        public CapacityTaskArgs.Builder instancePools​(CapacityTaskInstancePoolArgs... instancePools)
        Parameters:
        instancePools - One or more `instancePool` blocks defining the desired instance-type layout for the Outpost. See below. At least one block is required. Changing any value forces a new resource.
        Returns:
        builder
      • instancesToExclude

        public CapacityTaskArgs.Builder instancesToExclude​(@Nullable
                                                           com.pulumi.core.Output<CapacityTaskInstancesToExcludeArgs> instancesToExclude)
        Parameters:
        instancesToExclude - Single `instancesToExclude` block specifying user-owned running instances that must not be stopped to free up capacity. See below. Note: AWS does not return this value via the Get/Describe API; after import, you must add the block back to your configuration manually — see Import.
        Returns:
        builder
      • instancesToExclude

        public CapacityTaskArgs.Builder instancesToExclude​(CapacityTaskInstancesToExcludeArgs instancesToExclude)
        Parameters:
        instancesToExclude - Single `instancesToExclude` block specifying user-owned running instances that must not be stopped to free up capacity. See below. Note: AWS does not return this value via the Get/Describe API; after import, you must add the block back to your configuration manually — see Import.
        Returns:
        builder
      • orderId

        public CapacityTaskArgs.Builder orderId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> orderId)
        Parameters:
        orderId - ID of the Amazon Web Services Outposts order associated with the capacity task. Changing this value forces a new resource.
        Returns:
        builder
      • orderId

        public CapacityTaskArgs.Builder orderId​(java.lang.String orderId)
        Parameters:
        orderId - ID of the Amazon Web Services Outposts order associated with the capacity task. Changing this value forces a new resource.
        Returns:
        builder
      • outpostIdentifier

        public CapacityTaskArgs.Builder outpostIdentifier​(com.pulumi.core.Output<java.lang.String> outpostIdentifier)
        Parameters:
        outpostIdentifier - ID or ARN of the Outpost on which to run the capacity task. Both forms are accepted; the provider normalizes the value internally. Changing this value forces a new resource.
        Returns:
        builder
      • outpostIdentifier

        public CapacityTaskArgs.Builder outpostIdentifier​(java.lang.String outpostIdentifier)
        Parameters:
        outpostIdentifier - ID or ARN of the Outpost on which to run the capacity task. Both forms are accepted; the provider normalizes the value internally. Changing this value forces a new resource.
        Returns:
        builder
      • region

        public CapacityTaskArgs.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public CapacityTaskArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • taskActionOnBlockingInstances

        public CapacityTaskArgs.Builder taskActionOnBlockingInstances​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> taskActionOnBlockingInstances)
        Parameters:
        taskActionOnBlockingInstances - Action to take if running instances block the capacity task. Valid values are `WAIT_FOR_EVACUATION` and `FAIL_TASK`. Changing this value forces a new resource.
        Returns:
        builder
      • taskActionOnBlockingInstances

        public CapacityTaskArgs.Builder taskActionOnBlockingInstances​(java.lang.String taskActionOnBlockingInstances)
        Parameters:
        taskActionOnBlockingInstances - Action to take if running instances block the capacity task. Valid values are `WAIT_FOR_EVACUATION` and `FAIL_TASK`. Changing this value forces a new resource.
        Returns:
        builder