Class PoolState.Builder

  • Enclosing class:
    PoolState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(PoolState defaults)
    • Method Detail

      • applicationSettings

        public PoolState.Builder applicationSettings​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<PoolApplicationSettingArgs>> applicationSettings)
        Parameters:
        applicationSettings - Application settings configuration for the WorkSpaces Pool. See `applicationSettings` Block below.
        Returns:
        builder
      • applicationSettings

        public PoolState.Builder applicationSettings​(java.util.List<PoolApplicationSettingArgs> applicationSettings)
        Parameters:
        applicationSettings - Application settings configuration for the WorkSpaces Pool. See `applicationSettings` Block below.
        Returns:
        builder
      • applicationSettings

        public PoolState.Builder applicationSettings​(PoolApplicationSettingArgs... applicationSettings)
        Parameters:
        applicationSettings - Application settings configuration for the WorkSpaces Pool. See `applicationSettings` Block below.
        Returns:
        builder
      • bundleId

        public PoolState.Builder bundleId​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> bundleId)
        Parameters:
        bundleId - ID of the bundle for the WorkSpaces Pool.
        Returns:
        builder
      • bundleId

        public PoolState.Builder bundleId​(java.lang.String bundleId)
        Parameters:
        bundleId - ID of the bundle for the WorkSpaces Pool.
        Returns:
        builder
      • capacity

        public PoolState.Builder capacity​(@Nullable
                                          com.pulumi.core.Output<PoolCapacityArgs> capacity)
        Parameters:
        capacity - Capacity configuration for the WorkSpaces Pool. See `capacity` below.
        Returns:
        builder
      • capacity

        public PoolState.Builder capacity​(PoolCapacityArgs capacity)
        Parameters:
        capacity - Capacity configuration for the WorkSpaces Pool. See `capacity` below.
        Returns:
        builder
      • capacityStatuses

        public PoolState.Builder capacityStatuses​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<PoolCapacityStatusArgs>> capacityStatuses)
        Parameters:
        capacityStatuses - Capacity status of the WorkSpaces Pool. See `capacityStatus` Block below.
        Returns:
        builder
      • capacityStatuses

        public PoolState.Builder capacityStatuses​(java.util.List<PoolCapacityStatusArgs> capacityStatuses)
        Parameters:
        capacityStatuses - Capacity status of the WorkSpaces Pool. See `capacityStatus` Block below.
        Returns:
        builder
      • capacityStatuses

        public PoolState.Builder capacityStatuses​(PoolCapacityStatusArgs... capacityStatuses)
        Parameters:
        capacityStatuses - Capacity status of the WorkSpaces Pool. See `capacityStatus` Block below.
        Returns:
        builder
      • createdAt

        public PoolState.Builder createdAt​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> createdAt)
        Parameters:
        createdAt - Date and time the WorkSpaces Pool was created.
        Returns:
        builder
      • createdAt

        public PoolState.Builder createdAt​(java.lang.String createdAt)
        Parameters:
        createdAt - Date and time the WorkSpaces Pool was created.
        Returns:
        builder
      • description

        public PoolState.Builder description​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the WorkSpaces Pool.
        Returns:
        builder
      • description

        public PoolState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the WorkSpaces Pool.
        Returns:
        builder
      • directoryId

        public PoolState.Builder directoryId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> directoryId)
        Parameters:
        directoryId - ID of the directory for the WorkSpaces Pool.
        Returns:
        builder
      • directoryId

        public PoolState.Builder directoryId​(java.lang.String directoryId)
        Parameters:
        directoryId - ID of the directory for the WorkSpaces Pool.
        Returns:
        builder
      • poolArn

        public PoolState.Builder poolArn​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> poolArn)
        Parameters:
        poolArn - ARN of the WorkSpaces Pool.
        Returns:
        builder
      • poolArn

        public PoolState.Builder poolArn​(java.lang.String poolArn)
        Parameters:
        poolArn - ARN of the WorkSpaces Pool.
        Returns:
        builder
      • poolId

        public PoolState.Builder poolId​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> poolId)
        Parameters:
        poolId - ID of the WorkSpaces Pool.
        Returns:
        builder
      • poolId

        public PoolState.Builder poolId​(java.lang.String poolId)
        Parameters:
        poolId - ID of the WorkSpaces Pool.
        Returns:
        builder
      • poolName

        public PoolState.Builder poolName​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> poolName)
        Parameters:
        poolName - Name of the WorkSpaces Pool. This cannot be changed after creation.
        Returns:
        builder
      • poolName

        public PoolState.Builder poolName​(java.lang.String poolName)
        Parameters:
        poolName - Name of the WorkSpaces Pool. This cannot be changed after creation.
        Returns:
        builder
      • region

        public PoolState.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 PoolState.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
      • runningMode

        public PoolState.Builder runningMode​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> runningMode)
        Parameters:
        runningMode - Running mode of the WorkSpaces Pool. Valid values are `AUTO_STOP` and `ALWAYS_ON`. The following arguments are optional:
        Returns:
        builder
      • runningMode

        public PoolState.Builder runningMode​(java.lang.String runningMode)
        Parameters:
        runningMode - Running mode of the WorkSpaces Pool. Valid values are `AUTO_STOP` and `ALWAYS_ON`. The following arguments are optional:
        Returns:
        builder
      • s3BucketName

        public PoolState.Builder s3BucketName​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> s3BucketName)
        Parameters:
        s3BucketName - S3 bucket where application settings are stored when `applicationSettings` is enabled.
        Returns:
        builder
      • s3BucketName

        public PoolState.Builder s3BucketName​(java.lang.String s3BucketName)
        Parameters:
        s3BucketName - S3 bucket where application settings are stored when `applicationSettings` is enabled.
        Returns:
        builder
      • state

        public PoolState.Builder state​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - Current state of the WorkSpaces Pool.
        Returns:
        builder
      • state

        public PoolState.Builder state​(java.lang.String state)
        Parameters:
        state - Current state of the WorkSpaces Pool.
        Returns:
        builder
      • tags

        public PoolState.Builder tags​(@Nullable
                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public PoolState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public PoolState.Builder tagsAll​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public PoolState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • timeoutSettings

        public PoolState.Builder timeoutSettings​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<PoolTimeoutSettingArgs>> timeoutSettings)
        Parameters:
        timeoutSettings - Timeout settings configuration for the WorkSpaces Pool. See `timeoutSettings` Block below.
        Returns:
        builder
      • timeoutSettings

        public PoolState.Builder timeoutSettings​(java.util.List<PoolTimeoutSettingArgs> timeoutSettings)
        Parameters:
        timeoutSettings - Timeout settings configuration for the WorkSpaces Pool. See `timeoutSettings` Block below.
        Returns:
        builder
      • timeoutSettings

        public PoolState.Builder timeoutSettings​(PoolTimeoutSettingArgs... timeoutSettings)
        Parameters:
        timeoutSettings - Timeout settings configuration for the WorkSpaces Pool. See `timeoutSettings` Block below.
        Returns:
        builder