- getStreamProperties - Get stream properties
Get stream properties
package hello.world;
import com.airbyte.api.Airbyte;
import com.airbyte.api.models.operations.GetStreamPropertiesRequest;
import com.airbyte.api.models.operations.GetStreamPropertiesResponse;
import com.airbyte.api.models.shared.Security;
public class Application {
public static void main(String[] args) {
try {
Airbyte sdk = Airbyte.builder()
.setSecurity(new Security("ipsa") {{
bearerAuth = "";
}})
.build();
GetStreamPropertiesRequest req = new GetStreamPropertiesRequest("minima", "veritatis") {{
ignoreCache = false;
}};
GetStreamPropertiesResponse res = sdk.streams.getStreamProperties(req);
if (res.streamPropertiesResponse != null) {
// handle response
}
} catch (Exception e) {
// handle exception
}
}
}
Parameter | Type | Required | Description |
---|---|---|---|
request |
com.airbyte.api.models.operations.GetStreamPropertiesRequest | ✔️ | The request object to use for the request. |
com.airbyte.api.models.operations.GetStreamPropertiesResponse