Interface ModelCopyJobSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ModelCopyJobSummary.Builder,ModelCopyJobSummary>,SdkBuilder<ModelCopyJobSummary.Builder,ModelCopyJobSummary>,SdkPojo
- Enclosing class:
- ModelCopyJobSummary
@Mutable @NotThreadSafe public static interface ModelCopyJobSummary.Builder extends SdkPojo, CopyableBuilder<ModelCopyJobSummary.Builder,ModelCopyJobSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModelCopyJobSummary.BuildercreationTime(Instant creationTime)The time that the model copy job was created.ModelCopyJobSummary.BuilderfailureMessage(String failureMessage)If a model fails to be copied, a message describing why the job failed is included here.ModelCopyJobSummary.BuilderjobArn(String jobArn)The Amazon Resoource Name (ARN) of the model copy job.ModelCopyJobSummary.BuildersourceAccountId(String sourceAccountId)The unique identifier of the account that the model being copied originated from.ModelCopyJobSummary.BuildersourceModelArn(String sourceModelArn)The Amazon Resource Name (ARN) of the original model being copied.ModelCopyJobSummary.BuildersourceModelName(String sourceModelName)The name of the original model being copied.ModelCopyJobSummary.Builderstatus(String status)The status of the model copy job.ModelCopyJobSummary.Builderstatus(ModelCopyJobStatus status)The status of the model copy job.ModelCopyJobSummary.BuildertargetModelArn(String targetModelArn)The Amazon Resource Name (ARN) of the copied model.ModelCopyJobSummary.BuildertargetModelKmsKeyArn(String targetModelKmsKeyArn)The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied model.ModelCopyJobSummary.BuildertargetModelName(String targetModelName)The name of the copied model.ModelCopyJobSummary.BuildertargetModelTags(Collection<Tag> targetModelTags)Tags associated with the copied model.ModelCopyJobSummary.BuildertargetModelTags(Consumer<Tag.Builder>... targetModelTags)Tags associated with the copied model.ModelCopyJobSummary.BuildertargetModelTags(Tag... targetModelTags)Tags associated with the copied model.-
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
-
-
-
-
Method Detail
-
jobArn
ModelCopyJobSummary.Builder jobArn(String jobArn)
The Amazon Resoource Name (ARN) of the model copy job.
- Parameters:
jobArn- The Amazon Resoource Name (ARN) of the model copy job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ModelCopyJobSummary.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
ModelCopyJobSummary.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
ModelCopyJobSummary.Builder creationTime(Instant creationTime)
The time that the model copy job was created.
- Parameters:
creationTime- The time that the model copy job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelArn
ModelCopyJobSummary.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
ModelCopyJobSummary.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
ModelCopyJobSummary.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
ModelCopyJobSummary.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
ModelCopyJobSummary.Builder targetModelKmsKeyArn(String targetModelKmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied model.
- Parameters:
targetModelKmsKeyArn- The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelTags
ModelCopyJobSummary.Builder targetModelTags(Collection<Tag> targetModelTags)
Tags associated with the copied model.
- Parameters:
targetModelTags- Tags associated with the copied model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelTags
ModelCopyJobSummary.Builder targetModelTags(Tag... targetModelTags)
Tags associated with the copied model.
- Parameters:
targetModelTags- Tags associated with the copied model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetModelTags
ModelCopyJobSummary.Builder targetModelTags(Consumer<Tag.Builder>... targetModelTags)
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
ModelCopyJobSummary.Builder failureMessage(String failureMessage)
If a model fails to be copied, a message describing why the job failed is included here.
- Parameters:
failureMessage- If a model fails to be copied, a message describing why the job failed is included here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceModelName
ModelCopyJobSummary.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.
-
-