Interface NetworkPayload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkPayload.Builder,,NetworkPayload> SdkBuilder<NetworkPayload.Builder,,NetworkPayload> SdkPojo
- Enclosing class:
NetworkPayload
public static interface NetworkPayload.Builder
extends SdkPojo, CopyableBuilder<NetworkPayload.Builder,NetworkPayload>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NetworkPayload.Builderethernet0(Consumer<EthernetPayload.Builder> ethernet0) Settings for Ethernet port 0.ethernet0(EthernetPayload ethernet0) Settings for Ethernet port 0.default NetworkPayload.Builderethernet1(Consumer<EthernetPayload.Builder> ethernet1) Settings for Ethernet port 1.ethernet1(EthernetPayload ethernet1) Settings for Ethernet port 1.default NetworkPayload.Builderntp(Consumer<NtpPayload.Builder> ntp) Network time protocol (NTP) server settings.ntp(NtpPayload ntp) Network time protocol (NTP) server settings.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, sdkFields
-
Method Details
-
ethernet0
Settings for Ethernet port 0.
- Parameters:
ethernet0- Settings for Ethernet port 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ethernet0
Settings for Ethernet port 0.
This is a convenience method that creates an instance of theEthernetPayload.Builderavoiding the need to create one manually viaEthernetPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toethernet0(EthernetPayload).- Parameters:
ethernet0- a consumer that will call methods onEthernetPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ethernet1
Settings for Ethernet port 1.
- Parameters:
ethernet1- Settings for Ethernet port 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ethernet1
Settings for Ethernet port 1.
This is a convenience method that creates an instance of theEthernetPayload.Builderavoiding the need to create one manually viaEthernetPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toethernet1(EthernetPayload).- Parameters:
ethernet1- a consumer that will call methods onEthernetPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ntp
Network time protocol (NTP) server settings.
- Parameters:
ntp- Network time protocol (NTP) server settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ntp
Network time protocol (NTP) server settings.
This is a convenience method that creates an instance of theNtpPayload.Builderavoiding the need to create one manually viaNtpPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tontp(NtpPayload).- Parameters:
ntp- a consumer that will call methods onNtpPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-