Interface CreateProbeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProbeRequest.Builder,,CreateProbeRequest> NetworkMonitorRequest.Builder,SdkBuilder<CreateProbeRequest.Builder,,CreateProbeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProbeRequest
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.Builderprobe(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmonitor.model.NetworkMonitorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaProbeInput.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-