@Generated(value="software.amazon.awssdk:codegen") public final class DatasetMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetMetadata.Builder,DatasetMetadata>
A structure that represents a dataset.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatasetMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DatasetMetadata.Builder |
builder() |
List<TopicCalculatedField> |
calculatedFields()
The list of calculated field definitions.
|
List<TopicColumn> |
columns()
The list of column definitions.
|
DataAggregation |
dataAggregation()
The definition of a data aggregation.
|
String |
datasetArn()
The Amazon Resource Name (ARN) of the dataset.
|
String |
datasetDescription()
The description of the dataset.
|
String |
datasetName()
The name of the dataset.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<TopicFilter> |
filters()
The list of filter definitions.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCalculatedFields()
For responses, this returns true if the service returned a value for the CalculatedFields property.
|
boolean |
hasColumns()
For responses, this returns true if the service returned a value for the Columns property.
|
boolean |
hasFilters()
For responses, this returns true if the service returned a value for the Filters property.
|
int |
hashCode() |
boolean |
hasNamedEntities()
For responses, this returns true if the service returned a value for the NamedEntities property.
|
List<TopicNamedEntity> |
namedEntities()
The list of named entities definitions.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DatasetMetadata.Builder> |
serializableBuilderClass() |
DatasetMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String datasetArn()
The Amazon Resource Name (ARN) of the dataset.
public final String datasetName()
The name of the dataset.
public final String datasetDescription()
The description of the dataset.
public final DataAggregation dataAggregation()
The definition of a data aggregation.
public final boolean hasFilters()
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 List<TopicFilter> filters()
The list of filter definitions.
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 hasFilters() method.
public final boolean hasColumns()
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 List<TopicColumn> columns()
The list of column definitions.
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 hasColumns() method.
public final boolean hasCalculatedFields()
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 List<TopicCalculatedField> calculatedFields()
The list of calculated field definitions.
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 hasCalculatedFields() method.
public final boolean hasNamedEntities()
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 List<TopicNamedEntity> namedEntities()
The list of named entities definitions.
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 hasNamedEntities() method.
public DatasetMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatasetMetadata.Builder,DatasetMetadata>public static DatasetMetadata.Builder builder()
public static Class<? extends DatasetMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.