Class InferenceComponentState.Builder

  • Enclosing class:
    InferenceComponentState

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

      • arn

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

        public InferenceComponentState.Builder creationTime​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> creationTime)
        Parameters:
        creationTime - Time when the inference component was created.
        Returns:
        builder
      • creationTime

        public InferenceComponentState.Builder creationTime​(java.lang.String creationTime)
        Parameters:
        creationTime - Time when the inference component was created.
        Returns:
        builder
      • deploymentConfig

        public InferenceComponentState.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 InferenceComponentState.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
      • endpointArn

        public InferenceComponentState.Builder endpointArn​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> endpointArn)
        Parameters:
        endpointArn - ARN of the endpoint that hosts the inference component.
        Returns:
        builder
      • endpointArn

        public InferenceComponentState.Builder endpointArn​(java.lang.String endpointArn)
        Parameters:
        endpointArn - ARN of the endpoint that hosts the inference component.
        Returns:
        builder
      • endpointName

        public InferenceComponentState.Builder endpointName​(@Nullable
                                                            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 InferenceComponentState.Builder endpointName​(java.lang.String endpointName)
        Parameters:
        endpointName - Name of an existing endpoint where you host the inference component.
        Returns:
        builder
      • failureReason

        public InferenceComponentState.Builder failureReason​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> failureReason)
        Parameters:
        failureReason - If the inference component status is `Failed`, the reason for the failure.
        Returns:
        builder
      • failureReason

        public InferenceComponentState.Builder failureReason​(java.lang.String failureReason)
        Parameters:
        failureReason - If the inference component status is `Failed`, the reason for the failure.
        Returns:
        builder
      • lastModifiedTime

        public InferenceComponentState.Builder lastModifiedTime​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> lastModifiedTime)
        Parameters:
        lastModifiedTime - Time when the inference component was last updated.
        Returns:
        builder
      • lastModifiedTime

        public InferenceComponentState.Builder lastModifiedTime​(java.lang.String lastModifiedTime)
        Parameters:
        lastModifiedTime - Time when the inference component was last updated.
        Returns:
        builder
      • name

        public InferenceComponentState.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 InferenceComponentState.Builder name​(java.lang.String name)
        Parameters:
        name - Unique name to assign to the inference component.
        Returns:
        builder
      • region

        public InferenceComponentState.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 InferenceComponentState.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 InferenceComponentState.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 InferenceComponentState.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 InferenceComponentState.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 InferenceComponentState.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 InferenceComponentState.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
      • status

        public InferenceComponentState.Builder status​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Status of the inference component (e.g., `InService`, `Creating`, `Updating`, `Failed`, `Deleting`).
        Returns:
        builder
      • status

        public InferenceComponentState.Builder status​(java.lang.String status)
        Parameters:
        status - Status of the inference component (e.g., `InService`, `Creating`, `Updating`, `Failed`, `Deleting`).
        Returns:
        builder
      • tags

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

        public InferenceComponentState.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 InferenceComponentState.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