Interface GetModelCopyJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<GetModelCopyJobResponse.Builder,
,GetModelCopyJobResponse> SdkBuilder<GetModelCopyJobResponse.Builder,
,GetModelCopyJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetModelCopyJobResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time at which the model copy job was created.failureMessage
(String failureMessage) An error message for why the model copy job failed.The Amazon Resource Name (ARN) of the model copy job.sourceAccountId
(String sourceAccountId) The unique identifier of the account that the model being copied originated from.sourceModelArn
(String sourceModelArn) The Amazon Resource Name (ARN) of the original model being copied.sourceModelName
(String sourceModelName) The name of the original model being copied.The status of the model copy job.status
(ModelCopyJobStatus status) The status of the model copy job.targetModelArn
(String targetModelArn) The Amazon Resource Name (ARN) of the copied model.targetModelKmsKeyArn
(String targetModelKmsKeyArn) The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.targetModelName
(String targetModelName) The name of the copied model.targetModelTags
(Collection<Tag> targetModelTags) The tags associated with the copied model.targetModelTags
(Consumer<Tag.Builder>... targetModelTags) The tags associated with the copied model.targetModelTags
(Tag... targetModelTags) The tags associated with the copied model.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 model copy job.
- Parameters:
jobArn
- The Amazon Resource Name (ARN) of the model copy job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the model copy job.
- Parameters:
status
- The status of the model copy job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the model copy job.
- Parameters:
status
- The status of the model copy job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time at which the model copy job was created.
- Parameters:
creationTime
- The time at which the model copy job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelArn
The Amazon Resource Name (ARN) of the copied model.
- Parameters:
targetModelArn
- The Amazon Resource Name (ARN) of the copied model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelName
The name of the copied model.
- Parameters:
targetModelName
- The name of the copied model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAccountId
The unique identifier of the account that the model being copied originated from.
- Parameters:
sourceAccountId
- The unique identifier of the account that the model being copied originated from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceModelArn
The Amazon Resource Name (ARN) of the original model being copied.
- Parameters:
sourceModelArn
- The Amazon Resource Name (ARN) of the original model being copied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelKmsKeyArn
The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.
- Parameters:
targetModelKmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelTags
The tags associated with the copied model.
- Parameters:
targetModelTags
- The tags associated with the copied model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelTags
The tags associated with the copied model.
- Parameters:
targetModelTags
- The tags associated with the copied model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelTags
The tags associated with the copied model.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetModelTags(List<Tag>)
.- Parameters:
targetModelTags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMessage
An error message for why the model copy job failed.
- Parameters:
failureMessage
- An error message for why the model copy job failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceModelName
The name of the original model being copied.
- Parameters:
sourceModelName
- The name of the original model being copied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-