Interface GetTrainingDatasetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsMlResponse.Builder,CopyableBuilder<GetTrainingDatasetResponse.Builder,GetTrainingDatasetResponse>,SdkBuilder<GetTrainingDatasetResponse.Builder,GetTrainingDatasetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTrainingDatasetResponse
public static interface GetTrainingDatasetResponse.Builder extends CleanRoomsMlResponse.Builder, SdkPojo, CopyableBuilder<GetTrainingDatasetResponse.Builder,GetTrainingDatasetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetTrainingDatasetResponse.BuildercreateTime(Instant createTime)The time at which the training dataset was created.GetTrainingDatasetResponse.Builderdescription(String description)The description of the training dataset.GetTrainingDatasetResponse.Buildername(String name)The name of the training dataset.GetTrainingDatasetResponse.BuilderroleArn(String roleArn)The IAM role used to read the training data.GetTrainingDatasetResponse.Builderstatus(String status)The status of the training dataset.GetTrainingDatasetResponse.Builderstatus(TrainingDatasetStatus status)The status of the training dataset.GetTrainingDatasetResponse.Buildertags(Map<String,String> tags)The tags that are assigned to this training dataset.GetTrainingDatasetResponse.BuildertrainingData(Collection<Dataset> trainingData)Metadata about the requested training data.GetTrainingDatasetResponse.BuildertrainingData(Consumer<Dataset.Builder>... trainingData)Metadata about the requested training data.GetTrainingDatasetResponse.BuildertrainingData(Dataset... trainingData)Metadata about the requested training data.GetTrainingDatasetResponse.BuildertrainingDatasetArn(String trainingDatasetArn)The Amazon Resource Name (ARN) of the training dataset.GetTrainingDatasetResponse.BuilderupdateTime(Instant updateTime)The most recent time at which the training dataset was updated.-
Methods inherited from interface software.amazon.awssdk.services.cleanroomsml.model.CleanRoomsMlResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
createTime
GetTrainingDatasetResponse.Builder createTime(Instant createTime)
The time at which the training dataset was created.
- Parameters:
createTime- The time at which the training dataset was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
GetTrainingDatasetResponse.Builder updateTime(Instant updateTime)
The most recent time at which the training dataset was updated.
- Parameters:
updateTime- The most recent time at which the training dataset was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDatasetArn
GetTrainingDatasetResponse.Builder trainingDatasetArn(String trainingDatasetArn)
The Amazon Resource Name (ARN) of the training dataset.
- Parameters:
trainingDatasetArn- The Amazon Resource Name (ARN) of the training dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetTrainingDatasetResponse.Builder name(String name)
The name of the training dataset.
- Parameters:
name- The name of the training dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingData
GetTrainingDatasetResponse.Builder trainingData(Collection<Dataset> trainingData)
Metadata about the requested training data.
- Parameters:
trainingData- Metadata about the requested training data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingData
GetTrainingDatasetResponse.Builder trainingData(Dataset... trainingData)
Metadata about the requested training data.
- Parameters:
trainingData- Metadata about the requested training data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingData
GetTrainingDatasetResponse.Builder trainingData(Consumer<Dataset.Builder>... trainingData)
Metadata about the requested training data.
This is a convenience method that creates an instance of theDataset.Builderavoiding the need to create one manually viaDataset.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#trainingData(List.) - Parameters:
trainingData- a consumer that will call methods onDataset.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#trainingData(java.util.Collection)
-
status
GetTrainingDatasetResponse.Builder status(String status)
The status of the training dataset.
- Parameters:
status- The status of the training dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TrainingDatasetStatus,TrainingDatasetStatus
-
status
GetTrainingDatasetResponse.Builder status(TrainingDatasetStatus status)
The status of the training dataset.
- Parameters:
status- The status of the training dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TrainingDatasetStatus,TrainingDatasetStatus
-
roleArn
GetTrainingDatasetResponse.Builder roleArn(String roleArn)
The IAM role used to read the training data.
- Parameters:
roleArn- The IAM role used to read the training data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
GetTrainingDatasetResponse.Builder tags(Map<String,String> tags)
The tags that are assigned to this training dataset.
- Parameters:
tags- The tags that are assigned to this training dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetTrainingDatasetResponse.Builder description(String description)
The description of the training dataset.
- Parameters:
description- The description of the training dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-