Interface GetModelCopyJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetModelCopyJobResponse.Builder,GetModelCopyJobResponse>,SdkBuilder<GetModelCopyJobResponse.Builder,GetModelCopyJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetModelCopyJobResponse
@Mutable @NotThreadSafe public static interface GetModelCopyJobResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetModelCopyJobResponse.Builder,GetModelCopyJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetModelCopyJobResponse.BuildercreationTime(Instant creationTime)The time at which the model copy job was created.GetModelCopyJobResponse.BuilderfailureMessage(String failureMessage)An error message for why the model copy job failed.GetModelCopyJobResponse.BuilderjobArn(String jobArn)The Amazon Resource Name (ARN) of the model copy job.GetModelCopyJobResponse.BuildersourceAccountId(String sourceAccountId)The unique identifier of the account that the model being copied originated from.GetModelCopyJobResponse.BuildersourceModelArn(String sourceModelArn)The Amazon Resource Name (ARN) of the original model being copied.GetModelCopyJobResponse.BuildersourceModelName(String sourceModelName)The name of the original model being copied.GetModelCopyJobResponse.Builderstatus(String status)The status of the model copy job.GetModelCopyJobResponse.Builderstatus(ModelCopyJobStatus status)The status of the model copy job.GetModelCopyJobResponse.BuildertargetModelArn(String targetModelArn)The Amazon Resource Name (ARN) of the copied model.GetModelCopyJobResponse.BuildertargetModelKmsKeyArn(String targetModelKmsKeyArn)The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.GetModelCopyJobResponse.BuildertargetModelName(String targetModelName)The name of the copied model.GetModelCopyJobResponse.BuildertargetModelTags(Collection<Tag> targetModelTags)The tags associated with the copied model.GetModelCopyJobResponse.BuildertargetModelTags(Consumer<Tag.Builder>... targetModelTags)The tags associated with the copied model.GetModelCopyJobResponse.BuildertargetModelTags(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 Detail
-
jobArn
GetModelCopyJobResponse.Builder jobArn(String 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
GetModelCopyJobResponse.Builder status(String 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:
ModelCopyJobStatus,ModelCopyJobStatus
-
status
GetModelCopyJobResponse.Builder status(ModelCopyJobStatus 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:
ModelCopyJobStatus,ModelCopyJobStatus
-
creationTime
GetModelCopyJobResponse.Builder creationTime(Instant 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
GetModelCopyJobResponse.Builder targetModelArn(String 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
GetModelCopyJobResponse.Builder targetModelName(String 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
GetModelCopyJobResponse.Builder sourceAccountId(String 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
GetModelCopyJobResponse.Builder sourceModelArn(String 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
GetModelCopyJobResponse.Builder targetModelKmsKeyArn(String 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
GetModelCopyJobResponse.Builder targetModelTags(Collection<Tag> 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
GetModelCopyJobResponse.Builder targetModelTags(Tag... 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
GetModelCopyJobResponse.Builder targetModelTags(Consumer<Tag.Builder>... targetModelTags)
The tags associated with the copied model.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetModelTags(List.) - 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:
#targetModelTags(java.util.Collection)
-
failureMessage
GetModelCopyJobResponse.Builder failureMessage(String 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
GetModelCopyJobResponse.Builder sourceModelName(String 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.
-
-