Interface NetworkImpairment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkImpairment.Builder,
,NetworkImpairment> SdkBuilder<NetworkImpairment.Builder,
,NetworkImpairment> SdkPojo
- Enclosing class:
NetworkImpairment
-
Method Summary
Modifier and TypeMethodDescriptionasPath
(Collection<Network> asPath) The combination of the Autonomous System Number (ASN) of the network and the name of the network.asPath
(Consumer<Network.Builder>... asPath) The combination of the Autonomous System Number (ASN) of the network and the name of the network.The combination of the Autonomous System Number (ASN) of the network and the name of the network.networkEventType
(String networkEventType) The type of network impairment.networkEventType
(TriangulationEventType networkEventType) The type of network impairment.networks
(Collection<Network> networks) The networks that could be impacted by a network impairment event.networks
(Consumer<Network.Builder>... networks) The networks that could be impacted by a network impairment event.The networks that could be impacted by a network impairment event.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
-
networks
The networks that could be impacted by a network impairment event.
- Parameters:
networks
- The networks that could be impacted by a network impairment event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
The networks that could be impacted by a network impairment event.
- Parameters:
networks
- The networks that could be impacted by a network impairment event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
The networks that could be impacted by a network impairment event.
This is a convenience method that creates an instance of theNetwork.Builder
avoiding the need to create one manually viaNetwork.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworks(List<Network>)
.- Parameters:
networks
- a consumer that will call methods onNetwork.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
asPath
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
- Parameters:
asPath
- The combination of the Autonomous System Number (ASN) of the network and the name of the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asPath
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
- Parameters:
asPath
- The combination of the Autonomous System Number (ASN) of the network and the name of the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asPath
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
This is a convenience method that creates an instance of theNetwork.Builder
avoiding the need to create one manually viaNetwork.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toasPath(List<Network>)
.- Parameters:
asPath
- a consumer that will call methods onNetwork.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkEventType
The type of network impairment.
- Parameters:
networkEventType
- The type of network impairment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkEventType
The type of network impairment.
- Parameters:
networkEventType
- The type of network impairment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-