Interface GetModelImportJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetModelImportJobResponse.Builder,GetModelImportJobResponse>,SdkBuilder<GetModelImportJobResponse.Builder,GetModelImportJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetModelImportJobResponse
@Mutable @NotThreadSafe public static interface GetModelImportJobResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetModelImportJobResponse.Builder,GetModelImportJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetModelImportJobResponse.BuildercreationTime(Instant creationTime)The time the resource was created.GetModelImportJobResponse.BuilderendTime(Instant endTime)Time that the resource transitioned to terminal state.GetModelImportJobResponse.BuilderfailureMessage(String failureMessage)Information about why the import job failed.GetModelImportJobResponse.BuilderimportedModelArn(String importedModelArn)The Amazon Resource Name (ARN) of the imported model.GetModelImportJobResponse.BuilderimportedModelKmsKeyArn(String importedModelKmsKeyArn)The imported model is encrypted at rest using this key.GetModelImportJobResponse.BuilderimportedModelName(String importedModelName)The name of the imported model.GetModelImportJobResponse.BuilderjobArn(String jobArn)The Amazon Resource Name (ARN) of the import job.GetModelImportJobResponse.BuilderjobName(String jobName)The name of the import job.GetModelImportJobResponse.BuilderlastModifiedTime(Instant lastModifiedTime)Time the resource was last modified.default GetModelImportJobResponse.BuildermodelDataSource(Consumer<ModelDataSource.Builder> modelDataSource)The data source for the imported model.GetModelImportJobResponse.BuildermodelDataSource(ModelDataSource modelDataSource)The data source for the imported model.GetModelImportJobResponse.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM role associated with this job.GetModelImportJobResponse.Builderstatus(String status)The status of the job.GetModelImportJobResponse.Builderstatus(ModelImportJobStatus status)The status of the job.default GetModelImportJobResponse.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig)The Virtual Private Cloud (VPC) configuration of the import model job.GetModelImportJobResponse.BuildervpcConfig(VpcConfig vpcConfig)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 Detail
-
jobArn
GetModelImportJobResponse.Builder jobArn(String 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
GetModelImportJobResponse.Builder jobName(String 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
GetModelImportJobResponse.Builder roleArn(String 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 theModelDataSource.Builderavoiding the need to create one manually viaModelDataSource.builder().When the
Consumercompletes,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:
modelDataSource(ModelDataSource)
-
status
GetModelImportJobResponse.Builder status(String 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:
ModelImportJobStatus,ModelImportJobStatus
-
status
GetModelImportJobResponse.Builder status(ModelImportJobStatus 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:
ModelImportJobStatus,ModelImportJobStatus
-
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
GetModelImportJobResponse.Builder endTime(Instant 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
GetModelImportJobResponse.Builder vpcConfig(VpcConfig 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
default GetModelImportJobResponse.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
The Virtual Private Cloud (VPC) configuration of the import model job.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,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:
vpcConfig(VpcConfig)
-
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.
-
-