Interface CreateProbeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateProbeRequest.Builder,
,CreateProbeRequest> NetworkMonitorRequest.Builder
,SdkBuilder<CreateProbeRequest.Builder,
,CreateProbeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateProbeRequest
@Mutable
@NotThreadSafe
public static interface CreateProbeRequest.Builder
extends NetworkMonitorRequest.Builder, SdkPojo, CopyableBuilder<CreateProbeRequest.Builder,CreateProbeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier to ensure the idempotency of the request.monitorName
(String monitorName) The name of the monitor to associated with the probe.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateProbeRequest.Builder
probe
(Consumer<ProbeInput.Builder> probe) Describes the details of an individual probe for a monitor.probe
(ProbeInput probe) Describes the details of an individual probe for a monitor.The list of key-value pairs created and assigned to the probe.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkmonitor.model.NetworkMonitorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
monitorName
The name of the monitor to associated with the probe.
- Parameters:
monitorName
- The name of the monitor to associated with the probe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
probe
Describes the details of an individual probe for a monitor.
- Parameters:
probe
- Describes the details of an individual probe for a monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
probe
Describes the details of an individual probe for a monitor.
This is a convenience method that creates an instance of theProbeInput.Builder
avoiding the need to create one manually viaProbeInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprobe(ProbeInput)
.- Parameters:
probe
- a consumer that will call methods onProbeInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
- Parameters:
clientToken
- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of key-value pairs created and assigned to the probe.
- Parameters:
tags
- The list of key-value pairs created and assigned to the probe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProbeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProbeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-