Interface GetModelImportJobResponse.Builder

  • Method Details

    • jobArn

      The Amazon Resource Name (ARN) of the import job.

      Parameters:
      jobArn - The Amazon Resource Name (ARN) of the import job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobName

      The name of the import job.

      Parameters:
      jobName - The name of the import job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importedModelName

      GetModelImportJobResponse.Builder importedModelName(String importedModelName)

      The name of the imported model.

      Parameters:
      importedModelName - The name of the imported model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importedModelArn

      GetModelImportJobResponse.Builder importedModelArn(String importedModelArn)

      The Amazon Resource Name (ARN) of the imported model.

      Parameters:
      importedModelArn - The Amazon Resource Name (ARN) of the imported model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      The Amazon Resource Name (ARN) of the IAM role associated with this job.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the IAM role associated with this job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelDataSource

      GetModelImportJobResponse.Builder modelDataSource(ModelDataSource modelDataSource)

      The data source for the imported model.

      Parameters:
      modelDataSource - The data source for the imported model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelDataSource

      default GetModelImportJobResponse.Builder modelDataSource(Consumer<ModelDataSource.Builder> modelDataSource)

      The data source for the imported model.

      This is a convenience method that creates an instance of the ModelDataSource.Builder avoiding the need to create one manually via ModelDataSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to modelDataSource(ModelDataSource).

      Parameters:
      modelDataSource - a consumer that will call methods on ModelDataSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.

      Parameters:
      status - The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.

      Parameters:
      status - The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureMessage

      GetModelImportJobResponse.Builder failureMessage(String failureMessage)

      Information about why the import job failed.

      Parameters:
      failureMessage - Information about why the import job failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      GetModelImportJobResponse.Builder creationTime(Instant creationTime)

      The time the resource was created.

      Parameters:
      creationTime - The time the resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      GetModelImportJobResponse.Builder lastModifiedTime(Instant lastModifiedTime)

      Time the resource was last modified.

      Parameters:
      lastModifiedTime - Time the resource was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      Time that the resource transitioned to terminal state.

      Parameters:
      endTime - Time that the resource transitioned to terminal state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcConfig

      The Virtual Private Cloud (VPC) configuration of the import model job.

      Parameters:
      vpcConfig - The Virtual Private Cloud (VPC) configuration of the import model job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcConfig

      The Virtual Private Cloud (VPC) configuration of the import model job.

      This is a convenience method that creates an instance of the VpcConfig.Builder avoiding the need to create one manually via VpcConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcConfig(VpcConfig).

      Parameters:
      vpcConfig - a consumer that will call methods on VpcConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • importedModelKmsKeyArn

      GetModelImportJobResponse.Builder importedModelKmsKeyArn(String importedModelKmsKeyArn)

      The imported model is encrypted at rest using this key.

      Parameters:
      importedModelKmsKeyArn - The imported model is encrypted at rest using this key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.