Package com.ngrok.services
Class AbuseReports.CreateCallBuilder
java.lang.Object
com.ngrok.services.AbuseReports.CreateCallBuilder
- Enclosing class:
- AbuseReports
A builder object encapsulating state for an unsent Create API call.
-
Method Summary
Modifier and TypeMethodDescriptionInitiates the API call and blocks until it returns.call()
Initiates the API call asynchronously.arbitrary user-defined data about this abuse report.arbitrary user-defined data about this abuse report.
-
Method Details
-
metadata
arbitrary user-defined data about this abuse report. Optional, max 4096 bytes.- Parameters:
metadata
- the value of the metadata parameter as aString
- Returns:
- the call builder instance
-
metadata
arbitrary user-defined data about this abuse report. Optional, max 4096 bytes. -
call
Initiates the API call asynchronously.- Returns:
- a
CompletionStage
ofAbuseReport
-
blockingCall
Initiates the API call and blocks until it returns.- Returns:
AbuseReport
- Throws:
InterruptedException
- if the thread was interrupted during the call
-