Interface NetworkStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkStatus.Builder,
,NetworkStatus> SdkBuilder<NetworkStatus.Builder,
,NetworkStatus> SdkPojo
- Enclosing class:
NetworkStatus
public static interface NetworkStatus.Builder
extends SdkPojo, CopyableBuilder<NetworkStatus.Builder,NetworkStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NetworkStatus.Builder
ethernet0Status
(Consumer<EthernetStatus.Builder> ethernet0Status) The status of Ethernet port 0.ethernet0Status
(EthernetStatus ethernet0Status) The status of Ethernet port 0.default NetworkStatus.Builder
ethernet1Status
(Consumer<EthernetStatus.Builder> ethernet1Status) The status of Ethernet port 1.ethernet1Status
(EthernetStatus ethernet1Status) The status of Ethernet port 1.lastUpdatedTime
(Instant lastUpdatedTime) When the network status changed.default NetworkStatus.Builder
ntpStatus
(Consumer<NtpStatus.Builder> ntpStatus) Details about a network time protocol (NTP) server connection.Details about a network time protocol (NTP) server connection.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, sdkFields
-
Method Details
-
ethernet0Status
The status of Ethernet port 0.
- Parameters:
ethernet0Status
- The status of Ethernet port 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ethernet0Status
The status of Ethernet port 0.
This is a convenience method that creates an instance of theEthernetStatus.Builder
avoiding the need to create one manually viaEthernetStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toethernet0Status(EthernetStatus)
.- Parameters:
ethernet0Status
- a consumer that will call methods onEthernetStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ethernet1Status
The status of Ethernet port 1.
- Parameters:
ethernet1Status
- The status of Ethernet port 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ethernet1Status
The status of Ethernet port 1.
This is a convenience method that creates an instance of theEthernetStatus.Builder
avoiding the need to create one manually viaEthernetStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toethernet1Status(EthernetStatus)
.- Parameters:
ethernet1Status
- a consumer that will call methods onEthernetStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedTime
When the network status changed.
- Parameters:
lastUpdatedTime
- When the network status changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ntpStatus
Details about a network time protocol (NTP) server connection.
- Parameters:
ntpStatus
- Details about a network time protocol (NTP) server connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ntpStatus
Details about a network time protocol (NTP) server connection.
This is a convenience method that creates an instance of theNtpStatus.Builder
avoiding the need to create one manually viaNtpStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tontpStatus(NtpStatus)
.- Parameters:
ntpStatus
- a consumer that will call methods onNtpStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-