Interface PingBeacon.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PingBeacon.Builder,
,PingBeacon> SdkBuilder<PingBeacon.Builder,
,PingBeacon> SdkPojo
- Enclosing class:
PingBeacon
@Mutable
@NotThreadSafe
public static interface PingBeacon.Builder
extends SdkPojo, CopyableBuilder<PingBeacon.Builder,PingBeacon>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PingBeacon.Builder
udpEndpoint
(Consumer<UDPEndpoint.Builder> udpEndpoint) The domain name and port of the UDP ping beacon.udpEndpoint
(UDPEndpoint udpEndpoint) The domain name and port of the UDP ping beacon.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
udpEndpoint
The domain name and port of the UDP ping beacon.
- Parameters:
udpEndpoint
- The domain name and port of the UDP ping beacon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
udpEndpoint
The domain name and port of the UDP ping beacon.
This is a convenience method that creates an instance of theUDPEndpoint.Builder
avoiding the need to create one manually viaUDPEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toudpEndpoint(UDPEndpoint)
.- Parameters:
udpEndpoint
- a consumer that will call methods onUDPEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-