Class FleetState.Builder

  • Enclosing class:
    FleetState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(FleetState defaults)
    • Method Detail

      • arn

        public FleetState.Builder arn​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the Fleet.
        Returns:
        builder
      • arn

        public FleetState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the Fleet.
        Returns:
        builder
      • baseCapacity

        public FleetState.Builder baseCapacity​(@Nullable
                                               com.pulumi.core.Output<java.lang.Integer> baseCapacity)
        Parameters:
        baseCapacity - Number of machines allocated to the fleet.
        Returns:
        builder
      • baseCapacity

        public FleetState.Builder baseCapacity​(java.lang.Integer baseCapacity)
        Parameters:
        baseCapacity - Number of machines allocated to the fleet.
        Returns:
        builder
      • computeConfiguration

        public FleetState.Builder computeConfiguration​(@Nullable
                                                       com.pulumi.core.Output<FleetComputeConfigurationArgs> computeConfiguration)
        Parameters:
        computeConfiguration - The compute configuration of the compute fleet. This is only required if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE` or `CUSTOM_INSTANCE_TYPE`. See `computeConfiguration` below.
        Returns:
        builder
      • computeConfiguration

        public FleetState.Builder computeConfiguration​(FleetComputeConfigurationArgs computeConfiguration)
        Parameters:
        computeConfiguration - The compute configuration of the compute fleet. This is only required if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE` or `CUSTOM_INSTANCE_TYPE`. See `computeConfiguration` below.
        Returns:
        builder
      • computeType

        public FleetState.Builder computeType​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> computeType)
        Parameters:
        computeType - Compute resources the compute fleet uses. See [compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.
        Returns:
        builder
      • computeType

        public FleetState.Builder computeType​(java.lang.String computeType)
        Parameters:
        computeType - Compute resources the compute fleet uses. See [compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.
        Returns:
        builder
      • created

        public FleetState.Builder created​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> created)
        Parameters:
        created - Creation time of the fleet.
        Returns:
        builder
      • created

        public FleetState.Builder created​(java.lang.String created)
        Parameters:
        created - Creation time of the fleet.
        Returns:
        builder
      • environmentType

        public FleetState.Builder environmentType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> environmentType)
        Parameters:
        environmentType - Environment type of the compute fleet. See [environment types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values. The following arguments are optional:
        Returns:
        builder
      • environmentType

        public FleetState.Builder environmentType​(java.lang.String environmentType)
        Parameters:
        environmentType - Environment type of the compute fleet. See [environment types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values. The following arguments are optional:
        Returns:
        builder
      • fleetServiceRole

        public FleetState.Builder fleetServiceRole​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> fleetServiceRole)
        Parameters:
        fleetServiceRole - The service role associated with the compute fleet.
        Returns:
        builder
      • fleetServiceRole

        public FleetState.Builder fleetServiceRole​(java.lang.String fleetServiceRole)
        Parameters:
        fleetServiceRole - The service role associated with the compute fleet.
        Returns:
        builder
      • imageId

        public FleetState.Builder imageId​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> imageId)
        Parameters:
        imageId - AMI of the compute fleet.
        Returns:
        builder
      • imageId

        public FleetState.Builder imageId​(java.lang.String imageId)
        Parameters:
        imageId - AMI of the compute fleet.
        Returns:
        builder
      • lastModified

        public FleetState.Builder lastModified​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> lastModified)
        Parameters:
        lastModified - Last modification time of the fleet.
        Returns:
        builder
      • lastModified

        public FleetState.Builder lastModified​(java.lang.String lastModified)
        Parameters:
        lastModified - Last modification time of the fleet.
        Returns:
        builder
      • name

        public FleetState.Builder name​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Fleet name.
        Returns:
        builder
      • name

        public FleetState.Builder name​(java.lang.String name)
        Parameters:
        name - Fleet name.
        Returns:
        builder
      • overflowBehavior

        public FleetState.Builder overflowBehavior​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> overflowBehavior)
        Parameters:
        overflowBehavior - Overflow behavior for compute fleet. Valid values: `ON_DEMAND`, `QUEUE`.
        Returns:
        builder
      • overflowBehavior

        public FleetState.Builder overflowBehavior​(java.lang.String overflowBehavior)
        Parameters:
        overflowBehavior - Overflow behavior for compute fleet. Valid values: `ON_DEMAND`, `QUEUE`.
        Returns:
        builder
      • region

        public FleetState.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 FleetState.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
      • scalingConfiguration

        public FleetState.Builder scalingConfiguration​(@Nullable
                                                       com.pulumi.core.Output<FleetScalingConfigurationArgs> scalingConfiguration)
        Parameters:
        scalingConfiguration - Configuration block. This option is only valid when your overflow behavior is `QUEUE`. See `scalingConfiguration` below.
        Returns:
        builder
      • scalingConfiguration

        public FleetState.Builder scalingConfiguration​(FleetScalingConfigurationArgs scalingConfiguration)
        Parameters:
        scalingConfiguration - Configuration block. This option is only valid when your overflow behavior is `QUEUE`. See `scalingConfiguration` below.
        Returns:
        builder
      • statuses

        public FleetState.Builder statuses​(@Nullable
                                           com.pulumi.core.Output<java.util.List<FleetStatusArgs>> statuses)
        Parameters:
        statuses - Nested attribute containing information about the current status of the fleet.
        Returns:
        builder
      • statuses

        public FleetState.Builder statuses​(java.util.List<FleetStatusArgs> statuses)
        Parameters:
        statuses - Nested attribute containing information about the current status of the fleet.
        Returns:
        builder
      • statuses

        public FleetState.Builder statuses​(FleetStatusArgs... statuses)
        Parameters:
        statuses - Nested attribute containing information about the current status of the fleet.
        Returns:
        builder
      • tags

        public FleetState.Builder tags​(@Nullable
                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign 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 FleetState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign 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 FleetState.Builder tagsAll​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
      • tagsAll

        public FleetState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
      • vpcConfigs

        public FleetState.Builder vpcConfigs​(@Nullable
                                             com.pulumi.core.Output<java.util.List<FleetVpcConfigArgs>> vpcConfigs)
        Parameters:
        vpcConfigs - Configuration block. See `vpcConfig` below.
        Returns:
        builder
      • vpcConfigs

        public FleetState.Builder vpcConfigs​(java.util.List<FleetVpcConfigArgs> vpcConfigs)
        Parameters:
        vpcConfigs - Configuration block. See `vpcConfig` below.
        Returns:
        builder