Interface NetworkImpairment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkImpairment.Builder,NetworkImpairment>,SdkBuilder<NetworkImpairment.Builder,NetworkImpairment>,SdkPojo
- Enclosing class:
- NetworkImpairment
public static interface NetworkImpairment.Builder extends SdkPojo, CopyableBuilder<NetworkImpairment.Builder,NetworkImpairment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkImpairment.BuilderasPath(Collection<Network> asPath)The combination of the Autonomous System Number (ASN) of the network and the name of the network.NetworkImpairment.BuilderasPath(Consumer<Network.Builder>... asPath)The combination of the Autonomous System Number (ASN) of the network and the name of the network.NetworkImpairment.BuilderasPath(Network... asPath)The combination of the Autonomous System Number (ASN) of the network and the name of the network.NetworkImpairment.BuildernetworkEventType(String networkEventType)The type of network impairment.NetworkImpairment.BuildernetworkEventType(TriangulationEventType networkEventType)The type of network impairment.NetworkImpairment.Buildernetworks(Collection<Network> networks)The networks that could be impacted by a network impairment event.NetworkImpairment.Buildernetworks(Consumer<Network.Builder>... networks)The networks that could be impacted by a network impairment event.NetworkImpairment.Buildernetworks(Network... networks)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 Detail
-
networks
NetworkImpairment.Builder networks(Collection<Network> 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
NetworkImpairment.Builder networks(Network... 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
NetworkImpairment.Builder networks(Consumer<Network.Builder>... networks)
The networks that could be impacted by a network impairment event.
This is a convenience method that creates an instance of theNetwork.Builderavoiding the need to create one manually viaNetwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#networks(List.) - 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:
#networks(java.util.Collection)
-
asPath
NetworkImpairment.Builder asPath(Collection<Network> 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
NetworkImpairment.Builder asPath(Network... 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
NetworkImpairment.Builder asPath(Consumer<Network.Builder>... 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.Builderavoiding the need to create one manually viaNetwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#asPath(List.) - 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:
#asPath(java.util.Collection)
-
networkEventType
NetworkImpairment.Builder networkEventType(String 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:
TriangulationEventType,TriangulationEventType
-
networkEventType
NetworkImpairment.Builder networkEventType(TriangulationEventType 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:
TriangulationEventType,TriangulationEventType
-
-