Interface VirtualNodeSpec.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualNodeSpec.Builder,VirtualNodeSpec>,SdkBuilder<VirtualNodeSpec.Builder,VirtualNodeSpec>,SdkPojo
- Enclosing class:
- VirtualNodeSpec
public static interface VirtualNodeSpec.Builder extends SdkPojo, CopyableBuilder<VirtualNodeSpec.Builder,VirtualNodeSpec>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VirtualNodeSpec.BuilderbackendDefaults(Consumer<BackendDefaults.Builder> backendDefaults)A reference to an object that represents the defaults for backends.VirtualNodeSpec.BuilderbackendDefaults(BackendDefaults backendDefaults)A reference to an object that represents the defaults for backends.VirtualNodeSpec.Builderbackends(Collection<Backend> backends)The backends that the virtual node is expected to send outbound traffic to.VirtualNodeSpec.Builderbackends(Consumer<Backend.Builder>... backends)The backends that the virtual node is expected to send outbound traffic to.VirtualNodeSpec.Builderbackends(Backend... backends)The backends that the virtual node is expected to send outbound traffic to.VirtualNodeSpec.Builderlisteners(Collection<Listener> listeners)The listener that the virtual node is expected to receive inbound traffic from.VirtualNodeSpec.Builderlisteners(Consumer<Listener.Builder>... listeners)The listener that the virtual node is expected to receive inbound traffic from.VirtualNodeSpec.Builderlisteners(Listener... listeners)The listener that the virtual node is expected to receive inbound traffic from.default VirtualNodeSpec.Builderlogging(Consumer<Logging.Builder> logging)The inbound and outbound access logging information for the virtual node.VirtualNodeSpec.Builderlogging(Logging logging)The inbound and outbound access logging information for the virtual node.default VirtualNodeSpec.BuilderserviceDiscovery(Consumer<ServiceDiscovery.Builder> serviceDiscovery)The service discovery information for the virtual node.VirtualNodeSpec.BuilderserviceDiscovery(ServiceDiscovery serviceDiscovery)The service discovery information for the virtual node.-
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
-
backendDefaults
VirtualNodeSpec.Builder backendDefaults(BackendDefaults backendDefaults)
A reference to an object that represents the defaults for backends.
- Parameters:
backendDefaults- A reference to an object that represents the defaults for backends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backendDefaults
default VirtualNodeSpec.Builder backendDefaults(Consumer<BackendDefaults.Builder> backendDefaults)
A reference to an object that represents the defaults for backends.
This is a convenience method that creates an instance of theBackendDefaults.Builderavoiding the need to create one manually viaBackendDefaults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackendDefaults(BackendDefaults).- Parameters:
backendDefaults- a consumer that will call methods onBackendDefaults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
backendDefaults(BackendDefaults)
-
backends
VirtualNodeSpec.Builder backends(Collection<Backend> backends)
The backends that the virtual node is expected to send outbound traffic to.
- Parameters:
backends- The backends that the virtual node is expected to send outbound traffic to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backends
VirtualNodeSpec.Builder backends(Backend... backends)
The backends that the virtual node is expected to send outbound traffic to.
- Parameters:
backends- The backends that the virtual node is expected to send outbound traffic to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backends
VirtualNodeSpec.Builder backends(Consumer<Backend.Builder>... backends)
The backends that the virtual node is expected to send outbound traffic to.
This is a convenience method that creates an instance of theBackend.Builderavoiding the need to create one manually viaBackend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#backends(List.) - Parameters:
backends- a consumer that will call methods onBackend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#backends(java.util.Collection)
-
listeners
VirtualNodeSpec.Builder listeners(Collection<Listener> listeners)
The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.
- Parameters:
listeners- The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listeners
VirtualNodeSpec.Builder listeners(Listener... listeners)
The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.
- Parameters:
listeners- The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listeners
VirtualNodeSpec.Builder listeners(Consumer<Listener.Builder>... listeners)
The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.
This is a convenience method that creates an instance of theListener.Builderavoiding the need to create one manually viaListener.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#listeners(List.) - Parameters:
listeners- a consumer that will call methods onListener.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#listeners(java.util.Collection)
-
logging
VirtualNodeSpec.Builder logging(Logging logging)
The inbound and outbound access logging information for the virtual node.
- Parameters:
logging- The inbound and outbound access logging information for the virtual node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logging
default VirtualNodeSpec.Builder logging(Consumer<Logging.Builder> logging)
The inbound and outbound access logging information for the virtual node.
This is a convenience method that creates an instance of theLogging.Builderavoiding the need to create one manually viaLogging.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologging(Logging).- Parameters:
logging- a consumer that will call methods onLogging.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
logging(Logging)
-
serviceDiscovery
VirtualNodeSpec.Builder serviceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node. If your virtual node does not expect ingress traffic, you can omit this parameter. If you specify a
listener, then you must specify service discovery information.- Parameters:
serviceDiscovery- The service discovery information for the virtual node. If your virtual node does not expect ingress traffic, you can omit this parameter. If you specify alistener, then you must specify service discovery information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceDiscovery
default VirtualNodeSpec.Builder serviceDiscovery(Consumer<ServiceDiscovery.Builder> serviceDiscovery)
The service discovery information for the virtual node. If your virtual node does not expect ingress traffic, you can omit this parameter. If you specify a
This is a convenience method that creates an instance of thelistener, then you must specify service discovery information.ServiceDiscovery.Builderavoiding the need to create one manually viaServiceDiscovery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceDiscovery(ServiceDiscovery).- Parameters:
serviceDiscovery- a consumer that will call methods onServiceDiscovery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
serviceDiscovery(ServiceDiscovery)
-
-