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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NetworkStatus.Builderethernet0Status(Consumer<EthernetStatus.Builder> ethernet0Status)The status of Ethernet port 0.NetworkStatus.Builderethernet0Status(EthernetStatus ethernet0Status)The status of Ethernet port 0.default NetworkStatus.Builderethernet1Status(Consumer<EthernetStatus.Builder> ethernet1Status)The status of Ethernet port 1.NetworkStatus.Builderethernet1Status(EthernetStatus ethernet1Status)The status of Ethernet port 1.NetworkStatus.BuilderlastUpdatedTime(Instant lastUpdatedTime)When the network status changed.default NetworkStatus.BuilderntpStatus(Consumer<NtpStatus.Builder> ntpStatus)Details about a network time protocol (NTP) server connection.NetworkStatus.BuilderntpStatus(NtpStatus ntpStatus)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 Detail
-
ethernet0Status
NetworkStatus.Builder ethernet0Status(EthernetStatus 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
default NetworkStatus.Builder ethernet0Status(Consumer<EthernetStatus.Builder> ethernet0Status)
The status of Ethernet port 0.
This is a convenience method that creates an instance of theEthernetStatus.Builderavoiding the need to create one manually viaEthernetStatus.builder().When the
Consumercompletes,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:
ethernet0Status(EthernetStatus)
-
ethernet1Status
NetworkStatus.Builder ethernet1Status(EthernetStatus 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
default NetworkStatus.Builder ethernet1Status(Consumer<EthernetStatus.Builder> ethernet1Status)
The status of Ethernet port 1.
This is a convenience method that creates an instance of theEthernetStatus.Builderavoiding the need to create one manually viaEthernetStatus.builder().When the
Consumercompletes,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:
ethernet1Status(EthernetStatus)
-
lastUpdatedTime
NetworkStatus.Builder lastUpdatedTime(Instant 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
NetworkStatus.Builder ntpStatus(NtpStatus 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
default NetworkStatus.Builder ntpStatus(Consumer<NtpStatus.Builder> ntpStatus)
Details about a network time protocol (NTP) server connection.
This is a convenience method that creates an instance of theNtpStatus.Builderavoiding the need to create one manually viaNtpStatus.builder().When the
Consumercompletes,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:
ntpStatus(NtpStatus)
-
-