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) TheDataSourceIntrospectionResultobject data.introspectionResult(DataSourceIntrospectionResult introspectionResult) TheDataSourceIntrospectionResultobject 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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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 toSUCCESSorFAILEDdepending on how the data was parsed. AFAILEDoperation 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 toSUCCESSorFAILEDdepending on how the data was parsed. AFAILEDoperation 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 toSUCCESSorFAILEDdepending on how the data was parsed. AFAILEDoperation 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 toSUCCESSorFAILEDdepending on how the data was parsed. AFAILEDoperation 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
FAILEDintrospectionStatusis returned, theintrospectionStatusDetailwill also return the exact error that was generated during the operation.- Parameters:
introspectionStatusDetail- The error detail field. When aFAILEDintrospectionStatusis returned, theintrospectionStatusDetailwill 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
DataSourceIntrospectionResultobject data.- Parameters:
introspectionResult- TheDataSourceIntrospectionResultobject 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 theDataSourceIntrospectionResultobject data.DataSourceIntrospectionResult.Builderavoiding the need to create one manually viaDataSourceIntrospectionResult.builder().When the
Consumercompletes,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:
-