Interface NetworkPayload.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkPayload.Builder,
,NetworkPayload> SdkBuilder<NetworkPayload.Builder,
,NetworkPayload> SdkPojo
- Enclosing class:
NetworkPayload
@Mutable
@NotThreadSafe
public static interface NetworkPayload.Builder
extends SdkPojo, CopyableBuilder<NetworkPayload.Builder,NetworkPayload>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NetworkPayload.Builder
ethernet0
(Consumer<EthernetPayload.Builder> ethernet0) Settings for Ethernet port 0.ethernet0
(EthernetPayload ethernet0) Settings for Ethernet port 0.default NetworkPayload.Builder
ethernet1
(Consumer<EthernetPayload.Builder> ethernet1) Settings for Ethernet port 1.ethernet1
(EthernetPayload ethernet1) Settings for Ethernet port 1.default NetworkPayload.Builder
ntp
(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
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
-
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.Builder
avoiding the need to create one manually viaEthernetPayload.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaEthernetPayload.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaNtpPayload.builder()
.When the
Consumer
completes,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:
-