Interface VirtualNodeSpec.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualNodeSpec.Builder,
,VirtualNodeSpec> SdkBuilder<VirtualNodeSpec.Builder,
,VirtualNodeSpec> SdkPojo
- Enclosing class:
VirtualNodeSpec
-
Method Summary
Modifier and TypeMethodDescriptiondefault VirtualNodeSpec.Builder
backendDefaults
(Consumer<BackendDefaults.Builder> backendDefaults) A reference to an object that represents the defaults for backends.backendDefaults
(BackendDefaults backendDefaults) A reference to an object that represents the defaults for backends.backends
(Collection<Backend> backends) The backends that the virtual node is expected to send outbound traffic to.backends
(Consumer<Backend.Builder>... backends) The backends that the virtual node is expected to send outbound traffic to.The backends that the virtual node is expected to send outbound traffic to.listeners
(Collection<Listener> listeners) The listener that the virtual node is expected to receive inbound traffic from.listeners
(Consumer<Listener.Builder>... listeners) The listener that the virtual node is expected to receive inbound traffic from.The listener that the virtual node is expected to receive inbound traffic from.default VirtualNodeSpec.Builder
logging
(Consumer<Logging.Builder> logging) The inbound and outbound access logging information for the virtual node.The inbound and outbound access logging information for the virtual node.default VirtualNodeSpec.Builder
serviceDiscovery
(Consumer<ServiceDiscovery.Builder> serviceDiscovery) The service discovery information for the virtual node.serviceDiscovery
(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 Details
-
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
A reference to an object that represents the defaults for backends.
This is a convenience method that creates an instance of theBackendDefaults.Builder
avoiding the need to create one manually viaBackendDefaults.builder()
.When the
Consumer
completes,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:
-
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
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
The backends that the virtual node is expected to send outbound traffic to.
This is a convenience method that creates an instance of theBackend.Builder
avoiding the need to create one manually viaBackend.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackends(List<Backend>)
.- 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:
-
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
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
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.Builder
avoiding the need to create one manually viaListener.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolisteners(List<Listener>)
.- 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:
-
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
The inbound and outbound access logging information for the virtual node.
This is a convenience method that creates an instance of theLogging.Builder
avoiding the need to create one manually viaLogging.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaServiceDiscovery.builder()
.When the
Consumer
completes,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:
-