@Generated(value="software.amazon.awssdk:codegen") public final class Dataset extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Dataset.Builder,Dataset>
Represents a dataset that can be processed by DataBrew.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Dataset.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The ID of the Amazon Web Services account that owns the dataset.
|
static Dataset.Builder |
builder() |
Instant |
createDate()
The date and time that the dataset was created.
|
String |
createdBy()
The Amazon Resource Name (ARN) of the user who created the dataset.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
InputFormat |
format()
The file format of a dataset that is created from an Amazon S3 file or folder.
|
String |
formatAsString()
The file format of a dataset that is created from an Amazon S3 file or folder.
|
FormatOptions |
formatOptions()
A set of options that define how DataBrew interprets the data in the dataset.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
Input |
input()
Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.
|
String |
lastModifiedBy()
The Amazon Resource Name (ARN) of the user who last modified the dataset.
|
Instant |
lastModifiedDate()
The last modification date and time of the dataset.
|
String |
name()
The unique name of the dataset.
|
PathOptions |
pathOptions()
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
|
String |
resourceArn()
The unique Amazon Resource Name (ARN) for the dataset.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Dataset.Builder> |
serializableBuilderClass() |
Source |
source()
The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
|
String |
sourceAsString()
The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
|
Map<String,String> |
tags()
Metadata tags that have been applied to the dataset.
|
Dataset.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The ID of the Amazon Web Services account that owns the dataset.
public final String createdBy()
The Amazon Resource Name (ARN) of the user who created the dataset.
public final Instant createDate()
The date and time that the dataset was created.
public final String name()
The unique name of the dataset.
public final InputFormat format()
The file format of a dataset that is created from an Amazon S3 file or folder.
If the service returns an enum value that is not available in the current SDK version, format will
return InputFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
InputFormatpublic final String formatAsString()
The file format of a dataset that is created from an Amazon S3 file or folder.
If the service returns an enum value that is not available in the current SDK version, format will
return InputFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
InputFormatpublic final FormatOptions formatOptions()
A set of options that define how DataBrew interprets the data in the dataset.
public final Input input()
Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.
public final Instant lastModifiedDate()
The last modification date and time of the dataset.
public final String lastModifiedBy()
The Amazon Resource Name (ARN) of the user who last modified the dataset.
public final Source source()
The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
If the service returns an enum value that is not available in the current SDK version, source will
return Source.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceAsString().
Sourcepublic final String sourceAsString()
The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
If the service returns an enum value that is not available in the current SDK version, source will
return Source.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceAsString().
Sourcepublic final PathOptions pathOptions()
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
Metadata tags that have been applied to the dataset.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final String resourceArn()
The unique Amazon Resource Name (ARN) for the dataset.
public Dataset.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Dataset.Builder,Dataset>public static Dataset.Builder builder()
public static Class<? extends Dataset.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.