Interface GetDataViewResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDataViewResponse.Builder,
,GetDataViewResponse> FinspaceDataResponse.Builder
,SdkBuilder<GetDataViewResponse.Builder,
,GetDataViewResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDataViewResponse
-
Method Summary
Modifier and TypeMethodDescriptionasOfTimestamp
(Long asOfTimestamp) Time range to use for the Dataview.autoUpdate
(Boolean autoUpdate) Flag to indicate Dataview should be updated automatically.createTime
(Long createTime) The timestamp at which the Dataview was created in FinSpace.The unique identifier for the Dataset used in the Dataview.dataViewArn
(String dataViewArn) The ARN identifier of the Dataview.dataViewId
(String dataViewId) The unique identifier for the Dataview.default GetDataViewResponse.Builder
destinationTypeParams
(Consumer<DataViewDestinationTypeParams.Builder> destinationTypeParams) Options that define the destination type for the Dataview.destinationTypeParams
(DataViewDestinationTypeParams destinationTypeParams) Options that define the destination type for the Dataview.default GetDataViewResponse.Builder
errorInfo
(Consumer<DataViewErrorInfo.Builder> errorInfo) Information about an error that occurred for the Dataview.errorInfo
(DataViewErrorInfo errorInfo) Information about an error that occurred for the Dataview.lastModifiedTime
(Long lastModifiedTime) The last time that a Dataview was modified.partitionColumns
(String... partitionColumns) Ordered set of column names used to partition data.partitionColumns
(Collection<String> partitionColumns) Ordered set of column names used to partition data.sortColumns
(String... sortColumns) Columns to be used for sorting the data.sortColumns
(Collection<String> sortColumns) Columns to be used for sorting the data.The status of a Dataview creation.status
(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 Details
-
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
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
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
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
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
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
Information about an error that occurred for the Dataview.
This is a convenience method that creates an instance of theDataViewErrorInfo.Builder
avoiding the need to create one manually viaDataViewErrorInfo.builder()
.When the
Consumer
completes,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:
-
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
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
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
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
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
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.Builder
avoiding the need to create one manually viaDataViewDestinationTypeParams.builder()
.When the
Consumer
completes,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:
-
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:
-
-
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:
-
-