Class InferenceComponentArgs.Builder

  • Enclosing class:
    InferenceComponentArgs

    public static final class InferenceComponentArgs.Builder
    extends java.lang.Object
    • Method Detail

      • deploymentConfig

        public InferenceComponentArgs.Builder deploymentConfig​(@Nullable
                                                               com.pulumi.core.Output<InferenceComponentDeploymentConfigArgs> deploymentConfig)
        Parameters:
        deploymentConfig - Deployment configuration for the inference component, which controls the rollout strategy and rollback behavior. This directive applies only when the inference component is **updated** — the `CreateInferenceComponent` API does not accept it, so it has no effect on initial creation. It is not returned by the API and is therefore not refreshed into state or verified on import. See `deploymentConfig` Block.
        Returns:
        builder
      • deploymentConfig

        public InferenceComponentArgs.Builder deploymentConfig​(InferenceComponentDeploymentConfigArgs deploymentConfig)
        Parameters:
        deploymentConfig - Deployment configuration for the inference component, which controls the rollout strategy and rollback behavior. This directive applies only when the inference component is **updated** — the `CreateInferenceComponent` API does not accept it, so it has no effect on initial creation. It is not returned by the API and is therefore not refreshed into state or verified on import. See `deploymentConfig` Block.
        Returns:
        builder
      • endpointName

        public InferenceComponentArgs.Builder endpointName​(com.pulumi.core.Output<java.lang.String> endpointName)
        Parameters:
        endpointName - Name of an existing endpoint where you host the inference component.
        Returns:
        builder
      • endpointName

        public InferenceComponentArgs.Builder endpointName​(java.lang.String endpointName)
        Parameters:
        endpointName - Name of an existing endpoint where you host the inference component.
        Returns:
        builder
      • name

        public InferenceComponentArgs.Builder name​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Unique name to assign to the inference component.
        Returns:
        builder
      • name

        public InferenceComponentArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Unique name to assign to the inference component.
        Returns:
        builder
      • region

        public InferenceComponentArgs.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 InferenceComponentArgs.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
      • specification

        public InferenceComponentArgs.Builder specification​(@Nullable
                                                            com.pulumi.core.Output<InferenceComponentSpecificationArgs> specification)
        Parameters:
        specification - Details about the resources to deploy with this inference component. Exactly one of `specification` or `specifications` must be configured. See `specification` and `specifications` Block.
        Returns:
        builder
      • specification

        public InferenceComponentArgs.Builder specification​(InferenceComponentSpecificationArgs specification)
        Parameters:
        specification - Details about the resources to deploy with this inference component. Exactly one of `specification` or `specifications` must be configured. See `specification` and `specifications` Block.
        Returns:
        builder
      • specifications

        public InferenceComponentArgs.Builder specifications​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<InferenceComponentSpecificationArgs>> specifications)
        Parameters:
        specifications - List of specification objects for the inference component, one per instance type. At least two blocks are required; configure `specification` instead to deploy to a single instance type. Exactly one of `specification` or `specifications` must be configured. See `specification` and `specifications` Block.
        Returns:
        builder
      • specifications

        public InferenceComponentArgs.Builder specifications​(java.util.List<InferenceComponentSpecificationArgs> specifications)
        Parameters:
        specifications - List of specification objects for the inference component, one per instance type. At least two blocks are required; configure `specification` instead to deploy to a single instance type. Exactly one of `specification` or `specifications` must be configured. See `specification` and `specifications` Block.
        Returns:
        builder
      • specifications

        public InferenceComponentArgs.Builder specifications​(InferenceComponentSpecificationArgs... specifications)
        Parameters:
        specifications - List of specification objects for the inference component, one per instance type. At least two blocks are required; configure `specification` instead to deploy to a single instance type. Exactly one of `specification` or `specifications` must be configured. See `specification` and `specifications` Block.
        Returns:
        builder
      • tags

        public InferenceComponentArgs.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 InferenceComponentArgs.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
      • variantName

        public InferenceComponentArgs.Builder variantName​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> variantName)
        Parameters:
        variantName - Name of an existing production variant where you host the inference component. Required for a standard inference component; must be omitted for an adapter inference component (one that sets `baseInferenceComponentName`).
        Returns:
        builder
      • variantName

        public InferenceComponentArgs.Builder variantName​(java.lang.String variantName)
        Parameters:
        variantName - Name of an existing production variant where you host the inference component. Required for a standard inference component; must be omitted for an adapter inference component (one that sets `baseInferenceComponentName`).
        Returns:
        builder