Interface GetDataSourceIntrospectionResponse.Builder
- All Superinterfaces:
AppSyncResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDataSourceIntrospectionResponse.Builder,
,GetDataSourceIntrospectionResponse> SdkBuilder<GetDataSourceIntrospectionResponse.Builder,
,GetDataSourceIntrospectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDataSourceIntrospectionResponse
-
Method Summary
Modifier and TypeMethodDescriptionintrospectionId
(String introspectionId) The introspection ID.introspectionResult
(Consumer<DataSourceIntrospectionResult.Builder> introspectionResult) TheDataSourceIntrospectionResult
object data.introspectionResult
(DataSourceIntrospectionResult introspectionResult) TheDataSourceIntrospectionResult
object data.introspectionStatus
(String introspectionStatus) The status of the introspection during retrieval.introspectionStatus
(DataSourceIntrospectionStatus introspectionStatus) The status of the introspection during retrieval.introspectionStatusDetail
(String introspectionStatusDetail) The error detail field.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
introspectionId
The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.
- Parameters:
introspectionId
- The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
introspectionStatus
The status of the introspection during retrieval. By default, when a new instrospection is being retrieved, the status will be set to
PROCESSING
. Once the operation has been completed, the status will change toSUCCESS
orFAILED
depending on how the data was parsed. AFAILED
operation will return an error and its details as anintrospectionStatusDetail
.- Parameters:
introspectionStatus
- The status of the introspection during retrieval. By default, when a new instrospection is being retrieved, the status will be set toPROCESSING
. Once the operation has been completed, the status will change toSUCCESS
orFAILED
depending on how the data was parsed. AFAILED
operation will return an error and its details as anintrospectionStatusDetail
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
introspectionStatus
GetDataSourceIntrospectionResponse.Builder introspectionStatus(DataSourceIntrospectionStatus introspectionStatus) The status of the introspection during retrieval. By default, when a new instrospection is being retrieved, the status will be set to
PROCESSING
. Once the operation has been completed, the status will change toSUCCESS
orFAILED
depending on how the data was parsed. AFAILED
operation will return an error and its details as anintrospectionStatusDetail
.- Parameters:
introspectionStatus
- The status of the introspection during retrieval. By default, when a new instrospection is being retrieved, the status will be set toPROCESSING
. Once the operation has been completed, the status will change toSUCCESS
orFAILED
depending on how the data was parsed. AFAILED
operation will return an error and its details as anintrospectionStatusDetail
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
introspectionStatusDetail
GetDataSourceIntrospectionResponse.Builder introspectionStatusDetail(String introspectionStatusDetail) The error detail field. When a
FAILED
introspectionStatus
is returned, theintrospectionStatusDetail
will also return the exact error that was generated during the operation.- Parameters:
introspectionStatusDetail
- The error detail field. When aFAILED
introspectionStatus
is returned, theintrospectionStatusDetail
will also return the exact error that was generated during the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
introspectionResult
GetDataSourceIntrospectionResponse.Builder introspectionResult(DataSourceIntrospectionResult introspectionResult) The
DataSourceIntrospectionResult
object data.- Parameters:
introspectionResult
- TheDataSourceIntrospectionResult
object data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
introspectionResult
default GetDataSourceIntrospectionResponse.Builder introspectionResult(Consumer<DataSourceIntrospectionResult.Builder> introspectionResult) The
This is a convenience method that creates an instance of theDataSourceIntrospectionResult
object data.DataSourceIntrospectionResult.Builder
avoiding the need to create one manually viaDataSourceIntrospectionResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointrospectionResult(DataSourceIntrospectionResult)
.- Parameters:
introspectionResult
- a consumer that will call methods onDataSourceIntrospectionResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-