Interface GetModelImportJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<GetModelImportJobResponse.Builder,
,GetModelImportJobResponse> SdkBuilder<GetModelImportJobResponse.Builder,
,GetModelImportJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetModelImportJobResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time the resource was created.Time that the resource transitioned to terminal state.failureMessage
(String failureMessage) Information about why the import job failed.importedModelArn
(String importedModelArn) The Amazon Resource Name (ARN) of the imported model.importedModelKmsKeyArn
(String importedModelKmsKeyArn) The imported model is encrypted at rest using this key.importedModelName
(String importedModelName) The name of the imported model.The Amazon Resource Name (ARN) of the import job.The name of the import job.lastModifiedTime
(Instant lastModifiedTime) Time the resource was last modified.modelDataSource
(Consumer<ModelDataSource.Builder> modelDataSource) The data source for the imported model.modelDataSource
(ModelDataSource modelDataSource) The data source for the imported model.The Amazon Resource Name (ARN) of the IAM role associated with this job.The status of the job.status
(ModelImportJobStatus status) The status of the job.vpcConfig
(Consumer<VpcConfig.Builder> vpcConfig) The Virtual Private Cloud (VPC) configuration of the import model job.The Virtual Private Cloud (VPC) configuration of the import model job.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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
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
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 theModelDataSource.Builder
avoiding the need to create one manually viaModelDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelDataSource(ModelDataSource)
.- Parameters:
modelDataSource
- a consumer that will call methods onModelDataSource.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
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
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
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 theVpcConfig.Builder
avoiding the need to create one manually viaVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-