Interface DatasetDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetDescription.Builder,
,DatasetDescription> SdkBuilder<DatasetDescription.Builder,
,DatasetDescription> SdkPojo
- Enclosing class:
DatasetDescription
public static interface DatasetDescription.Builder
extends SdkPojo, CopyableBuilder<DatasetDescription.Builder,DatasetDescription>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimestamp
(Instant creationTimestamp) The Unix timestamp for the time and date that the dataset was created.datasetType
(String datasetType) The type of the dataset.default DatasetDescription.Builder
imageStats
(Consumer<DatasetImageStats.Builder> imageStats) Statistics about the images in a dataset.imageStats
(DatasetImageStats imageStats) Statistics about the images in a dataset.lastUpdatedTimestamp
(Instant lastUpdatedTimestamp) The Unix timestamp for the date and time that the dataset was last updated.projectName
(String projectName) The name of the project that contains the dataset.The status of the dataset.status
(DatasetStatus status) The status of the dataset.statusMessage
(String statusMessage) The status message for the dataset.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
-
Method Details
-
projectName
The name of the project that contains the dataset.
- Parameters:
projectName
- The name of the project that contains the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetType
The type of the dataset. The value
train
represents a training dataset or single dataset project. The valuetest
represents a test dataset.- Parameters:
datasetType
- The type of the dataset. The valuetrain
represents a training dataset or single dataset project. The valuetest
represents a test dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
The Unix timestamp for the time and date that the dataset was created.
- Parameters:
creationTimestamp
- The Unix timestamp for the time and date that the dataset was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimestamp
The Unix timestamp for the date and time that the dataset was last updated.
- Parameters:
lastUpdatedTimestamp
- The Unix timestamp for the date and time that the dataset was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the dataset.
- Parameters:
status
- The status of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the dataset.
- Parameters:
status
- The status of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The status message for the dataset.
- Parameters:
statusMessage
- The status message for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageStats
Statistics about the images in a dataset.
- Parameters:
imageStats
- Statistics about the images in a dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageStats
Statistics about the images in a dataset.
This is a convenience method that creates an instance of theDatasetImageStats.Builder
avoiding the need to create one manually viaDatasetImageStats.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageStats(DatasetImageStats)
.- Parameters:
imageStats
- a consumer that will call methods onDatasetImageStats.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-