Class InvocationJobArgs.Builder

  • Enclosing class:
    InvocationJobArgs

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

      • Builder

        public Builder()
    • Method Detail

      • jobName

        public InvocationJobArgs.Builder jobName​(com.pulumi.core.Output<java.lang.String> jobName)
        Parameters:
        jobName - Name for the batch inference job.
        Returns:
        builder
      • jobName

        public InvocationJobArgs.Builder jobName​(java.lang.String jobName)
        Parameters:
        jobName - Name for the batch inference job.
        Returns:
        builder
      • modelId

        public InvocationJobArgs.Builder modelId​(com.pulumi.core.Output<java.lang.String> modelId)
        Parameters:
        modelId - Identifier of the foundation model, or inference profile, to use for the batch inference job.
        Returns:
        builder
      • modelId

        public InvocationJobArgs.Builder modelId​(java.lang.String modelId)
        Parameters:
        modelId - Identifier of the foundation model, or inference profile, to use for the batch inference job.
        Returns:
        builder
      • outputDataConfig

        public InvocationJobArgs.Builder outputDataConfig​(com.pulumi.core.Output<InvocationJobOutputDataConfigArgs> outputDataConfig)
        Parameters:
        outputDataConfig - Location where the results of the batch inference job are stored. See `outputDataConfig` Block below.
        Returns:
        builder
      • region

        public InvocationJobArgs.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 InvocationJobArgs.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
      • roleArn

        public InvocationJobArgs.Builder roleArn​(com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See [Create a service role for batch inference](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html). The following arguments are optional:
        Returns:
        builder
      • roleArn

        public InvocationJobArgs.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See [Create a service role for batch inference](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html). The following arguments are optional:
        Returns:
        builder
      • skipDestroy

        public InvocationJobArgs.Builder skipDestroy​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> skipDestroy)
        Parameters:
        skipDestroy - Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
        Returns:
        builder
      • skipDestroy

        public InvocationJobArgs.Builder skipDestroy​(java.lang.Boolean skipDestroy)
        Parameters:
        skipDestroy - Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
        Returns:
        builder
      • timeoutDurationInHours

        public InvocationJobArgs.Builder timeoutDurationInHours​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Integer> timeoutDurationInHours)
        Parameters:
        timeoutDurationInHours - Number of hours after which to force the batch inference job to time out.
        Returns:
        builder
      • timeoutDurationInHours

        public InvocationJobArgs.Builder timeoutDurationInHours​(java.lang.Integer timeoutDurationInHours)
        Parameters:
        timeoutDurationInHours - Number of hours after which to force the batch inference job to time out.
        Returns:
        builder
      • vpcConfig

        public InvocationJobArgs.Builder vpcConfig​(@Nullable
                                                   com.pulumi.core.Output<InvocationJobVpcConfigArgs> vpcConfig)
        Parameters:
        vpcConfig - VPC configuration for the data used by the batch inference job. See `vpcConfig` Block below.
        Returns:
        builder