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 Summary
Modifier and TypeMethodDescriptiondefault VirtualServiceBackend.Builder
clientPolicy
(Consumer<ClientPolicy.Builder> clientPolicy) A reference to an object that represents the client policy for a backend.clientPolicy
(ClientPolicy clientPolicy) A reference to an object that represents the client policy for a backend.virtualServiceName
(String virtualServiceName) The name of the virtual service that is acting as a virtual node backend.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
-
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
A reference to an object that represents the client policy for a backend.
This is a convenience method that creates an instance of theClientPolicy.Builder
avoiding the need to create one manually viaClientPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientPolicy(ClientPolicy)
.- Parameters:
clientPolicy
- a consumer that will call methods onClientPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-