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 Details

    • 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 the BackendDefaults.Builder avoiding the need to create one manually via BackendDefaults.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to backendDefaults(BackendDefaults).

      Parameters:
      backendDefaults - a consumer that will call methods on BackendDefaults.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

      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

      The backends that the virtual node is expected to send outbound traffic to.

      This is a convenience method that creates an instance of the Backend.Builder avoiding the need to create one manually via Backend.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to backends(List<Backend>).

      Parameters:
      backends - a consumer that will call methods on Backend.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

      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

      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 the Listener.Builder avoiding the need to create one manually via Listener.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to listeners(List<Listener>).

      Parameters:
      listeners - a consumer that will call methods on Listener.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the Logging.Builder avoiding the need to create one manually via Logging.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logging(Logging).

      Parameters:
      logging - a consumer that will call methods on Logging.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 a listener, 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 listener, then you must specify service discovery information.

      This is a convenience method that creates an instance of the ServiceDiscovery.Builder avoiding the need to create one manually via ServiceDiscovery.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to serviceDiscovery(ServiceDiscovery).

      Parameters:
      serviceDiscovery - a consumer that will call methods on ServiceDiscovery.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: