Interface VirtualRouterListener.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualRouterListener.Builder,VirtualRouterListener>,SdkBuilder<VirtualRouterListener.Builder,VirtualRouterListener>,SdkPojo
- Enclosing class:
- VirtualRouterListener
public static interface VirtualRouterListener.Builder extends SdkPojo, CopyableBuilder<VirtualRouterListener.Builder,VirtualRouterListener>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VirtualRouterListener.BuilderportMapping(Consumer<PortMapping.Builder> portMapping)Sets the value of the PortMapping property for this object.VirtualRouterListener.BuilderportMapping(PortMapping portMapping)Sets the value of the PortMapping property for this object.-
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
-
portMapping
VirtualRouterListener.Builder portMapping(PortMapping portMapping)
Sets the value of the PortMapping property for this object.- Parameters:
portMapping- The new value for the PortMapping property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portMapping
default VirtualRouterListener.Builder portMapping(Consumer<PortMapping.Builder> portMapping)
Sets the value of the PortMapping property for this object. This is a convenience method that creates an instance of thePortMapping.Builderavoiding the need to create one manually viaPortMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toportMapping(PortMapping).- Parameters:
portMapping- a consumer that will call methods onPortMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
portMapping(PortMapping)
-
-