Class InvocationJobState.Builder

  • Enclosing class:
    InvocationJobState

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

      • endTime

        public InvocationJobState.Builder endTime​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> endTime)
        Parameters:
        endTime - Time at which the batch inference job ended.
        Returns:
        builder
      • endTime

        public InvocationJobState.Builder endTime​(java.lang.String endTime)
        Parameters:
        endTime - Time at which the batch inference job ended.
        Returns:
        builder
      • errorRecordCount

        public InvocationJobState.Builder errorRecordCount​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Integer> errorRecordCount)
        Parameters:
        errorRecordCount - Number of records that failed to process in the batch inference job.
        Returns:
        builder
      • errorRecordCount

        public InvocationJobState.Builder errorRecordCount​(java.lang.Integer errorRecordCount)
        Parameters:
        errorRecordCount - Number of records that failed to process in the batch inference job.
        Returns:
        builder
      • inputDataConfig

        public InvocationJobState.Builder inputDataConfig​(@Nullable
                                                          com.pulumi.core.Output<InvocationJobInputDataConfigArgs> inputDataConfig)
        Parameters:
        inputDataConfig - Location of the input data for the batch inference job. See `inputDataConfig` Block below.
        Returns:
        builder
      • jobArn

        public InvocationJobState.Builder jobArn​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> jobArn)
        Parameters:
        jobArn - ARN of the batch inference job.
        Returns:
        builder
      • jobArn

        public InvocationJobState.Builder jobArn​(java.lang.String jobArn)
        Parameters:
        jobArn - ARN of the batch inference job.
        Returns:
        builder
      • jobExpirationTime

        public InvocationJobState.Builder jobExpirationTime​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> jobExpirationTime)
        Parameters:
        jobExpirationTime - Time at which the batch inference job times or timed out.
        Returns:
        builder
      • jobExpirationTime

        public InvocationJobState.Builder jobExpirationTime​(java.lang.String jobExpirationTime)
        Parameters:
        jobExpirationTime - Time at which the batch inference job times or timed out.
        Returns:
        builder
      • jobName

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

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

        public InvocationJobState.Builder modelId​(@Nullable
                                                  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 InvocationJobState.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
      • modelInvocationType

        public InvocationJobState.Builder modelInvocationType​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> modelInvocationType)
        Parameters:
        modelInvocationType - Invocation endpoint used for the batch inference job.
        Returns:
        builder
      • modelInvocationType

        public InvocationJobState.Builder modelInvocationType​(java.lang.String modelInvocationType)
        Parameters:
        modelInvocationType - Invocation endpoint used for the batch inference job.
        Returns:
        builder
      • outputDataConfig

        public InvocationJobState.Builder outputDataConfig​(@Nullable
                                                           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
      • processedRecordCount

        public InvocationJobState.Builder processedRecordCount​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Integer> processedRecordCount)
        Parameters:
        processedRecordCount - Number of records that have been processed in the batch inference job.
        Returns:
        builder
      • processedRecordCount

        public InvocationJobState.Builder processedRecordCount​(java.lang.Integer processedRecordCount)
        Parameters:
        processedRecordCount - Number of records that have been processed in the batch inference job.
        Returns:
        builder
      • region

        public InvocationJobState.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 InvocationJobState.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 InvocationJobState.Builder roleArn​(@Nullable
                                                  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 InvocationJobState.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 InvocationJobState.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 InvocationJobState.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
      • status

        public InvocationJobState.Builder status​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Status of the batch inference job.
        Returns:
        builder
      • status

        public InvocationJobState.Builder status​(java.lang.String status)
        Parameters:
        status - Status of the batch inference job.
        Returns:
        builder
      • submitTime

        public InvocationJobState.Builder submitTime​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> submitTime)
        Parameters:
        submitTime - Time at which the batch inference job was submitted.
        Returns:
        builder
      • submitTime

        public InvocationJobState.Builder submitTime​(java.lang.String submitTime)
        Parameters:
        submitTime - Time at which the batch inference job was submitted.
        Returns:
        builder
      • successRecordCount

        public InvocationJobState.Builder successRecordCount​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> successRecordCount)
        Parameters:
        successRecordCount - Number of records that were successfully processed in the batch inference job.
        Returns:
        builder
      • successRecordCount

        public InvocationJobState.Builder successRecordCount​(java.lang.Integer successRecordCount)
        Parameters:
        successRecordCount - Number of records that were successfully processed in the batch inference job.
        Returns:
        builder
      • timeoutDurationInHours

        public InvocationJobState.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 InvocationJobState.Builder timeoutDurationInHours​(java.lang.Integer timeoutDurationInHours)
        Parameters:
        timeoutDurationInHours - Number of hours after which to force the batch inference job to time out.
        Returns:
        builder
      • totalRecordCount

        public InvocationJobState.Builder totalRecordCount​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Integer> totalRecordCount)
        Parameters:
        totalRecordCount - Total number of records in the batch inference job.
        Returns:
        builder
      • totalRecordCount

        public InvocationJobState.Builder totalRecordCount​(java.lang.Integer totalRecordCount)
        Parameters:
        totalRecordCount - Total number of records in the batch inference job.
        Returns:
        builder
      • vpcConfig

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