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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DatasetDescription.BuildercreationTimestamp(Instant creationTimestamp)The Unix timestamp for the time and date that the dataset was created.DatasetDescription.BuilderdatasetType(String datasetType)The type of the dataset.default DatasetDescription.BuilderimageStats(Consumer<DatasetImageStats.Builder> imageStats)Statistics about the images in a dataset.DatasetDescription.BuilderimageStats(DatasetImageStats imageStats)Statistics about the images in a dataset.DatasetDescription.BuilderlastUpdatedTimestamp(Instant lastUpdatedTimestamp)The Unix timestamp for the date and time that the dataset was last updated.DatasetDescription.BuilderprojectName(String projectName)The name of the project that contains the dataset.DatasetDescription.Builderstatus(String status)The status of the dataset.DatasetDescription.Builderstatus(DatasetStatus status)The status of the dataset.DatasetDescription.BuilderstatusMessage(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 Detail
-
projectName
DatasetDescription.Builder projectName(String 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
DatasetDescription.Builder datasetType(String datasetType)
The type of the dataset. The value
trainrepresents a training dataset or single dataset project. The valuetestrepresents a test dataset.- Parameters:
datasetType- The type of the dataset. The valuetrainrepresents a training dataset or single dataset project. The valuetestrepresents a test dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
DatasetDescription.Builder creationTimestamp(Instant 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
DatasetDescription.Builder lastUpdatedTimestamp(Instant 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
DatasetDescription.Builder status(String 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:
DatasetStatus,DatasetStatus
-
status
DatasetDescription.Builder status(DatasetStatus 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:
DatasetStatus,DatasetStatus
-
statusMessage
DatasetDescription.Builder statusMessage(String 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
DatasetDescription.Builder imageStats(DatasetImageStats 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
default DatasetDescription.Builder imageStats(Consumer<DatasetImageStats.Builder> imageStats)
Statistics about the images in a dataset.
This is a convenience method that creates an instance of theDatasetImageStats.Builderavoiding the need to create one manually viaDatasetImageStats.builder().When the
Consumercompletes,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:
imageStats(DatasetImageStats)
-
-