public static interface MonitoringInput.Builder extends SdkPojo, CopyableBuilder<MonitoringInput.Builder,MonitoringInput>
Modifier and Type | Method and Description |
---|---|
default MonitoringInput.Builder |
endpointInput(Consumer<EndpointInput.Builder> endpointInput)
The endpoint for a monitoring job.
|
MonitoringInput.Builder |
endpointInput(EndpointInput endpointInput)
The endpoint for a monitoring job.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
MonitoringInput.Builder endpointInput(EndpointInput endpointInput)
The endpoint for a monitoring job.
endpointInput
- The endpoint for a monitoring job.default MonitoringInput.Builder endpointInput(Consumer<EndpointInput.Builder> endpointInput)
The endpoint for a monitoring job.
This is a convenience method that creates an instance of theEndpointInput.Builder
avoiding the need
to create one manually via EndpointInput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to endpointInput(EndpointInput)
.endpointInput
- a consumer that will call methods on EndpointInput.Builder
endpointInput(EndpointInput)
Copyright © 2022. All rights reserved.