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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateProbeRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier to ensure the idempotency of the request.CreateProbeRequest.BuildermonitorName(String monitorName)The name of the monitor to associated with the probe.CreateProbeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateProbeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateProbeRequest.Builderprobe(Consumer<ProbeInput.Builder> probe)Describes the details of an individual probe for a monitor.CreateProbeRequest.Builderprobe(ProbeInput probe)Describes the details of an individual probe for a monitor.CreateProbeRequest.Buildertags(Map<String,String> tags)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, sdkFields
-
-
-
-
Method Detail
-
monitorName
CreateProbeRequest.Builder monitorName(String 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
CreateProbeRequest.Builder probe(ProbeInput 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
default CreateProbeRequest.Builder probe(Consumer<ProbeInput.Builder> 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:
probe(ProbeInput)
-
clientToken
CreateProbeRequest.Builder clientToken(String 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
CreateProbeRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateProbeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-