Class MeshServiceDiscovery.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.MeshServiceDiscovery.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MeshServiceDiscovery>
- Enclosing interface:
MeshServiceDiscovery
@Stability(Stable)
public static final class MeshServiceDiscovery.Builder
extends Object
implements software.amazon.jsii.Builder<MeshServiceDiscovery>
A builder for
MeshServiceDiscovery-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipPreference(IpPreference ipPreference) Sets the value ofMeshServiceDiscovery.getIpPreference()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipPreference
Sets the value ofMeshServiceDiscovery.getIpPreference()- Parameters:
ipPreference- IP preference applied to all Virtual Nodes in the Mesh.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MeshServiceDiscovery>- Returns:
- a new instance of
MeshServiceDiscovery - Throws:
NullPointerException- if any required attribute was not provided
-