Interface VirtualServiceBackend.Builder

All Superinterfaces:
Buildable, CopyableBuilder<VirtualServiceBackend.Builder,VirtualServiceBackend>, SdkBuilder<VirtualServiceBackend.Builder,VirtualServiceBackend>, SdkPojo
Enclosing class:
VirtualServiceBackend

public static interface VirtualServiceBackend.Builder extends SdkPojo, CopyableBuilder<VirtualServiceBackend.Builder,VirtualServiceBackend>
  • Method Details

    • clientPolicy

      VirtualServiceBackend.Builder clientPolicy(ClientPolicy clientPolicy)

      A reference to an object that represents the client policy for a backend.

      Parameters:
      clientPolicy - A reference to an object that represents the client policy for a backend.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientPolicy

      default VirtualServiceBackend.Builder clientPolicy(Consumer<ClientPolicy.Builder> clientPolicy)

      A reference to an object that represents the client policy for a backend.

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

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

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

      VirtualServiceBackend.Builder virtualServiceName(String virtualServiceName)

      The name of the virtual service that is acting as a virtual node backend.

      Parameters:
      virtualServiceName - The name of the virtual service that is acting as a virtual node backend.
      Returns:
      Returns a reference to this object so that method calls can be chained together.