Interface DataLakeDataset.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataLakeDataset.Builder,DataLakeDataset>,SdkBuilder<DataLakeDataset.Builder,DataLakeDataset>,SdkPojo
- Enclosing class:
- DataLakeDataset
public static interface DataLakeDataset.Builder extends SdkPojo, CopyableBuilder<DataLakeDataset.Builder,DataLakeDataset>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataLakeDataset.Builderarn(String arn)The arn of the dataset.DataLakeDataset.BuildercreatedTime(Instant createdTime)The creation time of the dataset.DataLakeDataset.Builderdescription(String description)The description of the dataset.DataLakeDataset.BuilderinstanceId(String instanceId)The Amazon Web Services Supply Chain instance identifier.DataLakeDataset.BuilderlastModifiedTime(Instant lastModifiedTime)The last modified time of the dataset.DataLakeDataset.Buildername(String name)The name of the dataset.DataLakeDataset.Buildernamespace(String namespace)The name space of the dataset.default DataLakeDataset.Builderschema(Consumer<DataLakeDatasetSchema.Builder> schema)The schema of the dataset.DataLakeDataset.Builderschema(DataLakeDatasetSchema schema)The schema of 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceId
DataLakeDataset.Builder instanceId(String instanceId)
The Amazon Web Services Supply Chain instance identifier.
- Parameters:
instanceId- The Amazon Web Services Supply Chain instance identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
DataLakeDataset.Builder namespace(String namespace)
The name space of the dataset. The available values are:
-
asc - For information on the Amazon Web Services Supply Chain supported datasets see https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html.
-
default - For datasets with custom user-defined schemas.
- Parameters:
namespace- The name space of the dataset. The available values are:-
asc - For information on the Amazon Web Services Supply Chain supported datasets see https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html.
-
default - For datasets with custom user-defined schemas.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
name
DataLakeDataset.Builder name(String name)
The name of the dataset. For asc name space, the name must be one of the supported data entities under https://docs.aws. amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html.
- Parameters:
name- The name of the dataset. For asc name space, the name must be one of the supported data entities under https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
DataLakeDataset.Builder arn(String arn)
The arn of the dataset.
- Parameters:
arn- The arn of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
DataLakeDataset.Builder schema(DataLakeDatasetSchema schema)
The schema of the dataset.
- Parameters:
schema- The schema of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
default DataLakeDataset.Builder schema(Consumer<DataLakeDatasetSchema.Builder> schema)
The schema of the dataset.
This is a convenience method that creates an instance of theDataLakeDatasetSchema.Builderavoiding the need to create one manually viaDataLakeDatasetSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschema(DataLakeDatasetSchema).- Parameters:
schema- a consumer that will call methods onDataLakeDatasetSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
schema(DataLakeDatasetSchema)
-
description
DataLakeDataset.Builder description(String description)
The description of the dataset.
- Parameters:
description- The description of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
DataLakeDataset.Builder createdTime(Instant createdTime)
The creation time of the dataset.
- Parameters:
createdTime- The creation time of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
DataLakeDataset.Builder lastModifiedTime(Instant lastModifiedTime)
The last modified time of the dataset.
- Parameters:
lastModifiedTime- The last modified time of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-