Interface GetDatasetContentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDatasetContentResponse.Builder,GetDatasetContentResponse>,IoTAnalyticsResponse.Builder,SdkBuilder<GetDatasetContentResponse.Builder,GetDatasetContentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDatasetContentResponse
public static interface GetDatasetContentResponse.Builder extends IoTAnalyticsResponse.Builder, SdkPojo, CopyableBuilder<GetDatasetContentResponse.Builder,GetDatasetContentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetDatasetContentResponse.Builderentries(Collection<DatasetEntry> entries)A list ofDatasetEntryobjects.GetDatasetContentResponse.Builderentries(Consumer<DatasetEntry.Builder>... entries)A list ofDatasetEntryobjects.GetDatasetContentResponse.Builderentries(DatasetEntry... entries)A list ofDatasetEntryobjects.default GetDatasetContentResponse.Builderstatus(Consumer<DatasetContentStatus.Builder> status)The status of the dataset content.GetDatasetContentResponse.Builderstatus(DatasetContentStatus status)The status of the dataset content.GetDatasetContentResponse.Buildertimestamp(Instant timestamp)The time when the request was made.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
entries
GetDatasetContentResponse.Builder entries(Collection<DatasetEntry> entries)
A list of
DatasetEntryobjects.- Parameters:
entries- A list ofDatasetEntryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
GetDatasetContentResponse.Builder entries(DatasetEntry... entries)
A list of
DatasetEntryobjects.- Parameters:
entries- A list ofDatasetEntryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
GetDatasetContentResponse.Builder entries(Consumer<DatasetEntry.Builder>... entries)
A list of
This is a convenience method that creates an instance of theDatasetEntryobjects.DatasetEntry.Builderavoiding the need to create one manually viaDatasetEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entries(List.) - Parameters:
entries- a consumer that will call methods onDatasetEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entries(java.util.Collection)
-
timestamp
GetDatasetContentResponse.Builder timestamp(Instant timestamp)
The time when the request was made.
- Parameters:
timestamp- The time when the request was made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetDatasetContentResponse.Builder status(DatasetContentStatus status)
The status of the dataset content.
- Parameters:
status- The status of the dataset content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default GetDatasetContentResponse.Builder status(Consumer<DatasetContentStatus.Builder> status)
The status of the dataset content.
This is a convenience method that creates an instance of theDatasetContentStatus.Builderavoiding the need to create one manually viaDatasetContentStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(DatasetContentStatus).- Parameters:
status- a consumer that will call methods onDatasetContentStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(DatasetContentStatus)
-
-