Interface GetDataSourceIntrospectionResponse.Builder

All Superinterfaces:
AppSyncResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<GetDataSourceIntrospectionResponse.Builder,GetDataSourceIntrospectionResponse>, SdkBuilder<GetDataSourceIntrospectionResponse.Builder,GetDataSourceIntrospectionResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetDataSourceIntrospectionResponse

public static interface GetDataSourceIntrospectionResponse.Builder extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<GetDataSourceIntrospectionResponse.Builder,GetDataSourceIntrospectionResponse>
  • Method Details

    • introspectionId

      GetDataSourceIntrospectionResponse.Builder introspectionId(String 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

      GetDataSourceIntrospectionResponse.Builder introspectionStatus(String 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 to SUCCESS or FAILED depending on how the data was parsed. A FAILED operation will return an error and its details as an introspectionStatusDetail.

      Parameters:
      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 to SUCCESS or FAILED depending on how the data was parsed. A FAILED operation will return an error and its details as an introspectionStatusDetail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 to SUCCESS or FAILED depending on how the data was parsed. A FAILED operation will return an error and its details as an introspectionStatusDetail.

      Parameters:
      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 to SUCCESS or FAILED depending on how the data was parsed. A FAILED operation will return an error and its details as an introspectionStatusDetail.
      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, the introspectionStatusDetail will also return the exact error that was generated during the operation.

      Parameters:
      introspectionStatusDetail - The error detail field. When a FAILED introspectionStatus is returned, the introspectionStatusDetail 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

      The DataSourceIntrospectionResult object data.

      Parameters:
      introspectionResult - The DataSourceIntrospectionResult object data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • introspectionResult

      The DataSourceIntrospectionResult object data.

      This is a convenience method that creates an instance of the DataSourceIntrospectionResult.Builder avoiding the need to create one manually via DataSourceIntrospectionResult.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to introspectionResult(DataSourceIntrospectionResult).

      Parameters:
      introspectionResult - a consumer that will call methods on DataSourceIntrospectionResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: