Interface ProjectDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProjectDescription.Builder,
,ProjectDescription> SdkBuilder<ProjectDescription.Builder,
,ProjectDescription> SdkPojo
- Enclosing class:
ProjectDescription
public static interface ProjectDescription.Builder
extends SdkPojo, CopyableBuilder<ProjectDescription.Builder,ProjectDescription>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimestamp
(Instant creationTimestamp) The unix timestamp for the date and time that the project was created.datasets
(Collection<DatasetMetadata> datasets) A list of datasets in the project.datasets
(Consumer<DatasetMetadata.Builder>... datasets) A list of datasets in the project.datasets
(DatasetMetadata... datasets) A list of datasets in the project.projectArn
(String projectArn) The Amazon Resource Name (ARN) of the project.projectName
(String projectName) The name of the project.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
-
projectArn
The Amazon Resource Name (ARN) of the project.
- Parameters:
projectArn
- The Amazon Resource Name (ARN) of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectName
The name of the project.
- Parameters:
projectName
- The name of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
The unix timestamp for the date and time that the project was created.
- Parameters:
creationTimestamp
- The unix timestamp for the date and time that the project was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasets
A list of datasets in the project.
- Parameters:
datasets
- A list of datasets in the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasets
A list of datasets in the project.
- Parameters:
datasets
- A list of datasets in the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasets
A list of datasets in the project.
This is a convenience method that creates an instance of theDatasetMetadata.Builder
avoiding the need to create one manually viaDatasetMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatasets(List<DatasetMetadata>)
.- Parameters:
datasets
- a consumer that will call methods onDatasetMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-