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.BuilderudpEndpoint(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaUDPEndpoint.builder().When the
Consumercompletes,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:
-