Interface DataSetExportItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataSetExportItem.Builder,
,DataSetExportItem> SdkBuilder<DataSetExportItem.Builder,
,DataSetExportItem> SdkPojo
- Enclosing class:
DataSetExportItem
@Mutable
@NotThreadSafe
public static interface DataSetExportItem.Builder
extends SdkPojo, CopyableBuilder<DataSetExportItem.Builder,DataSetExportItem>
-
Method Summary
Modifier and TypeMethodDescriptiondatasetName
(String datasetName) The data set.default DataSetExportItem.Builder
externalLocation
(Consumer<ExternalLocation.Builder> externalLocation) The location of the data set.externalLocation
(ExternalLocation externalLocation) The location of the data set.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 Details
-
datasetName
The data set.
- Parameters:
datasetName
- The data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalLocation
The location of the data set.
- Parameters:
externalLocation
- The location of the data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalLocation
default DataSetExportItem.Builder externalLocation(Consumer<ExternalLocation.Builder> externalLocation) The location of the data set.
This is a convenience method that creates an instance of theExternalLocation.Builder
avoiding the need to create one manually viaExternalLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexternalLocation(ExternalLocation)
.- Parameters:
externalLocation
- a consumer that will call methods onExternalLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-