Interface DataViewSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataViewSummary.Builder,DataViewSummary>,SdkBuilder<DataViewSummary.Builder,DataViewSummary>,SdkPojo
- Enclosing class:
- DataViewSummary
public static interface DataViewSummary.Builder extends SdkPojo, CopyableBuilder<DataViewSummary.Builder,DataViewSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataViewSummary.BuilderasOfTimestamp(Long asOfTimestamp)Time range to use for the Dataview.DataViewSummary.BuilderautoUpdate(Boolean autoUpdate)The flag to indicate Dataview should be updated automatically.DataViewSummary.BuildercreateTime(Long createTime)The timestamp at which the Dataview was created in FinSpace.DataViewSummary.BuilderdatasetId(String datasetId)Th unique identifier for the Dataview Dataset.DataViewSummary.BuilderdataViewArn(String dataViewArn)The ARN identifier of the Dataview.DataViewSummary.BuilderdataViewId(String dataViewId)The unique identifier for the Dataview.default DataViewSummary.BuilderdestinationTypeProperties(Consumer<DataViewDestinationTypeParams.Builder> destinationTypeProperties)Information about the Dataview destination.DataViewSummary.BuilderdestinationTypeProperties(DataViewDestinationTypeParams destinationTypeProperties)Information about the Dataview destination.default DataViewSummary.BuildererrorInfo(Consumer<DataViewErrorInfo.Builder> errorInfo)The structure with error messages.DataViewSummary.BuildererrorInfo(DataViewErrorInfo errorInfo)The structure with error messages.DataViewSummary.BuilderlastModifiedTime(Long lastModifiedTime)The last time that a Dataview was modified.DataViewSummary.BuilderpartitionColumns(String... partitionColumns)Ordered set of column names used to partition data.DataViewSummary.BuilderpartitionColumns(Collection<String> partitionColumns)Ordered set of column names used to partition data.DataViewSummary.BuildersortColumns(String... sortColumns)Columns to be used for sorting the data.DataViewSummary.BuildersortColumns(Collection<String> sortColumns)Columns to be used for sorting the data.DataViewSummary.Builderstatus(String status)The status of a Dataview creation.DataViewSummary.Builderstatus(DataViewStatus status)The status of a Dataview creation.-
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
-
dataViewId
DataViewSummary.Builder dataViewId(String dataViewId)
The unique identifier for the Dataview.
- Parameters:
dataViewId- The unique identifier for the Dataview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataViewArn
DataViewSummary.Builder dataViewArn(String dataViewArn)
The ARN identifier of the Dataview.
- Parameters:
dataViewArn- The ARN identifier of the Dataview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetId
DataViewSummary.Builder datasetId(String datasetId)
Th unique identifier for the Dataview Dataset.
- Parameters:
datasetId- Th unique identifier for the Dataview Dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asOfTimestamp
DataViewSummary.Builder asOfTimestamp(Long asOfTimestamp)
Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
- Parameters:
asOfTimestamp- Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionColumns
DataViewSummary.Builder partitionColumns(Collection<String> partitionColumns)
Ordered set of column names used to partition data.
- Parameters:
partitionColumns- Ordered set of column names used to partition data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionColumns
DataViewSummary.Builder partitionColumns(String... partitionColumns)
Ordered set of column names used to partition data.
- Parameters:
partitionColumns- Ordered set of column names used to partition data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortColumns
DataViewSummary.Builder sortColumns(Collection<String> sortColumns)
Columns to be used for sorting the data.
- Parameters:
sortColumns- Columns to be used for sorting the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortColumns
DataViewSummary.Builder sortColumns(String... sortColumns)
Columns to be used for sorting the data.
- Parameters:
sortColumns- Columns to be used for sorting the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DataViewSummary.Builder status(String status)
The status of a Dataview creation.
-
RUNNING– Dataview creation is running. -
STARTING– Dataview creation is starting. -
FAILED– Dataview creation has failed. -
CANCELLED– Dataview creation has been cancelled. -
TIMEOUT– Dataview creation has timed out. -
SUCCESS– Dataview creation has succeeded. -
PENDING– Dataview creation is pending. -
FAILED_CLEANUP_FAILED– Dataview creation failed and resource cleanup failed.
- Parameters:
status- The status of a Dataview creation.-
RUNNING– Dataview creation is running. -
STARTING– Dataview creation is starting. -
FAILED– Dataview creation has failed. -
CANCELLED– Dataview creation has been cancelled. -
TIMEOUT– Dataview creation has timed out. -
SUCCESS– Dataview creation has succeeded. -
PENDING– Dataview creation is pending. -
FAILED_CLEANUP_FAILED– Dataview creation failed and resource cleanup failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataViewStatus,DataViewStatus
-
-
status
DataViewSummary.Builder status(DataViewStatus status)
The status of a Dataview creation.
-
RUNNING– Dataview creation is running. -
STARTING– Dataview creation is starting. -
FAILED– Dataview creation has failed. -
CANCELLED– Dataview creation has been cancelled. -
TIMEOUT– Dataview creation has timed out. -
SUCCESS– Dataview creation has succeeded. -
PENDING– Dataview creation is pending. -
FAILED_CLEANUP_FAILED– Dataview creation failed and resource cleanup failed.
- Parameters:
status- The status of a Dataview creation.-
RUNNING– Dataview creation is running. -
STARTING– Dataview creation is starting. -
FAILED– Dataview creation has failed. -
CANCELLED– Dataview creation has been cancelled. -
TIMEOUT– Dataview creation has timed out. -
SUCCESS– Dataview creation has succeeded. -
PENDING– Dataview creation is pending. -
FAILED_CLEANUP_FAILED– Dataview creation failed and resource cleanup failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataViewStatus,DataViewStatus
-
-
errorInfo
DataViewSummary.Builder errorInfo(DataViewErrorInfo errorInfo)
The structure with error messages.
- Parameters:
errorInfo- The structure with error messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
default DataViewSummary.Builder errorInfo(Consumer<DataViewErrorInfo.Builder> errorInfo)
The structure with error messages.
This is a convenience method that creates an instance of theDataViewErrorInfo.Builderavoiding the need to create one manually viaDataViewErrorInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorInfo(DataViewErrorInfo).- Parameters:
errorInfo- a consumer that will call methods onDataViewErrorInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
errorInfo(DataViewErrorInfo)
-
destinationTypeProperties
DataViewSummary.Builder destinationTypeProperties(DataViewDestinationTypeParams destinationTypeProperties)
Information about the Dataview destination.
- Parameters:
destinationTypeProperties- Information about the Dataview destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTypeProperties
default DataViewSummary.Builder destinationTypeProperties(Consumer<DataViewDestinationTypeParams.Builder> destinationTypeProperties)
Information about the Dataview destination.
This is a convenience method that creates an instance of theDataViewDestinationTypeParams.Builderavoiding the need to create one manually viaDataViewDestinationTypeParams.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationTypeProperties(DataViewDestinationTypeParams).- Parameters:
destinationTypeProperties- a consumer that will call methods onDataViewDestinationTypeParams.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
destinationTypeProperties(DataViewDestinationTypeParams)
-
autoUpdate
DataViewSummary.Builder autoUpdate(Boolean autoUpdate)
The flag to indicate Dataview should be updated automatically.
- Parameters:
autoUpdate- The flag to indicate Dataview should be updated automatically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
DataViewSummary.Builder createTime(Long createTime)
The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
- Parameters:
createTime- The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
DataViewSummary.Builder lastModifiedTime(Long lastModifiedTime)
The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
- Parameters:
lastModifiedTime- The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-