Interface GetDataViewResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDataViewResponse.Builder,GetDataViewResponse>,FinspaceDataResponse.Builder,SdkBuilder<GetDataViewResponse.Builder,GetDataViewResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDataViewResponse
public static interface GetDataViewResponse.Builder extends FinspaceDataResponse.Builder, SdkPojo, CopyableBuilder<GetDataViewResponse.Builder,GetDataViewResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetDataViewResponse.BuilderasOfTimestamp(Long asOfTimestamp)Time range to use for the Dataview.GetDataViewResponse.BuilderautoUpdate(Boolean autoUpdate)Flag to indicate Dataview should be updated automatically.GetDataViewResponse.BuildercreateTime(Long createTime)The timestamp at which the Dataview was created in FinSpace.GetDataViewResponse.BuilderdatasetId(String datasetId)The unique identifier for the Dataset used in the Dataview.GetDataViewResponse.BuilderdataViewArn(String dataViewArn)The ARN identifier of the Dataview.GetDataViewResponse.BuilderdataViewId(String dataViewId)The unique identifier for the Dataview.default GetDataViewResponse.BuilderdestinationTypeParams(Consumer<DataViewDestinationTypeParams.Builder> destinationTypeParams)Options that define the destination type for the Dataview.GetDataViewResponse.BuilderdestinationTypeParams(DataViewDestinationTypeParams destinationTypeParams)Options that define the destination type for the Dataview.default GetDataViewResponse.BuildererrorInfo(Consumer<DataViewErrorInfo.Builder> errorInfo)Information about an error that occurred for the Dataview.GetDataViewResponse.BuildererrorInfo(DataViewErrorInfo errorInfo)Information about an error that occurred for the Dataview.GetDataViewResponse.BuilderlastModifiedTime(Long lastModifiedTime)The last time that a Dataview was modified.GetDataViewResponse.BuilderpartitionColumns(String... partitionColumns)Ordered set of column names used to partition data.GetDataViewResponse.BuilderpartitionColumns(Collection<String> partitionColumns)Ordered set of column names used to partition data.GetDataViewResponse.BuildersortColumns(String... sortColumns)Columns to be used for sorting the data.GetDataViewResponse.BuildersortColumns(Collection<String> sortColumns)Columns to be used for sorting the data.GetDataViewResponse.Builderstatus(String status)The status of a Dataview creation.GetDataViewResponse.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.services.finspacedata.model.FinspaceDataResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
autoUpdate
GetDataViewResponse.Builder autoUpdate(Boolean autoUpdate)
Flag to indicate Dataview should be updated automatically.
- Parameters:
autoUpdate- Flag to indicate Dataview should be updated automatically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionColumns
GetDataViewResponse.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
GetDataViewResponse.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.
-
datasetId
GetDataViewResponse.Builder datasetId(String datasetId)
The unique identifier for the Dataset used in the Dataview.
- Parameters:
datasetId- The unique identifier for the Dataset used in the Dataview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asOfTimestamp
GetDataViewResponse.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.
-
errorInfo
GetDataViewResponse.Builder errorInfo(DataViewErrorInfo errorInfo)
Information about an error that occurred for the Dataview.
- Parameters:
errorInfo- Information about an error that occurred for the Dataview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
default GetDataViewResponse.Builder errorInfo(Consumer<DataViewErrorInfo.Builder> errorInfo)
Information about an error that occurred for the Dataview.
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)
-
lastModifiedTime
GetDataViewResponse.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.
-
createTime
GetDataViewResponse.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.
-
sortColumns
GetDataViewResponse.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
GetDataViewResponse.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.
-
dataViewId
GetDataViewResponse.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
GetDataViewResponse.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.
-
destinationTypeParams
GetDataViewResponse.Builder destinationTypeParams(DataViewDestinationTypeParams destinationTypeParams)
Options that define the destination type for the Dataview.
- Parameters:
destinationTypeParams- Options that define the destination type for the Dataview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTypeParams
default GetDataViewResponse.Builder destinationTypeParams(Consumer<DataViewDestinationTypeParams.Builder> destinationTypeParams)
Options that define the destination type for the Dataview.
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 todestinationTypeParams(DataViewDestinationTypeParams).- Parameters:
destinationTypeParams- 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:
destinationTypeParams(DataViewDestinationTypeParams)
-
status
GetDataViewResponse.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
GetDataViewResponse.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
-
-
-