@Generated(value="software.amazon.awssdk:codegen") public final class DatasetSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetSummary.Builder,DatasetSummary>
A summary of information about a data set.
Modifier and Type | Class and Description |
---|---|
static interface |
DatasetSummary.Builder |
Modifier and Type | Method and Description |
---|---|
List<DatasetActionSummary> |
actions()
A list of
DataActionSummary objects. |
static DatasetSummary.Builder |
builder() |
Instant |
creationTime()
The time the data set was created.
|
String |
datasetName()
The name of the data set.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasActions()
Returns true if the Actions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasTriggers()
Returns true if the Triggers property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Instant |
lastUpdateTime()
The last time the data set was updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DatasetSummary.Builder> |
serializableBuilderClass() |
DatasetStatus |
status()
The status of the data set.
|
String |
statusAsString()
The status of the data set.
|
DatasetSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
List<DatasetTrigger> |
triggers()
A list of triggers.
|
copy
public final String datasetName()
The name of the data set.
public final DatasetStatus status()
The status of the data set.
If the service returns an enum value that is not available in the current SDK version, status
will
return DatasetStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
DatasetStatus
public final String statusAsString()
The status of the data set.
If the service returns an enum value that is not available in the current SDK version, status
will
return DatasetStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
DatasetStatus
public final Instant creationTime()
The time the data set was created.
public final Instant lastUpdateTime()
The last time the data set was updated.
public final boolean hasTriggers()
public final List<DatasetTrigger> triggers()
A list of triggers. A trigger causes data set content to be populated at a specified time interval or when
another data set is populated. The list of triggers can be empty or contain up to five
DataSetTrigger
objects
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTriggers()
to see if a value was sent in this field.
DataSetTrigger
objectspublic final boolean hasActions()
public final List<DatasetActionSummary> actions()
A list of DataActionSummary
objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasActions()
to see if a value was sent in this field.
DataActionSummary
objects.public DatasetSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DatasetSummary.Builder,DatasetSummary>
public static DatasetSummary.Builder builder()
public static Class<? extends DatasetSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()