Class CfnMeshPropsMixin.MeshSpecProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnMeshPropsMixin.MeshSpecProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMeshPropsMixin.MeshSpecProperty>
- Enclosing interface:
CfnMeshPropsMixin.MeshSpecProperty
@Stability(Stable)
public static final class CfnMeshPropsMixin.MeshSpecProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMeshPropsMixin.MeshSpecProperty>
A builder for
CfnMeshPropsMixin.MeshSpecProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.egressFilter(CfnMeshPropsMixin.EgressFilterProperty egressFilter) Sets the value ofCfnMeshPropsMixin.MeshSpecProperty.getEgressFilter()egressFilter(IResolvable egressFilter) Sets the value ofCfnMeshPropsMixin.MeshSpecProperty.getEgressFilter()serviceDiscovery(CfnMeshPropsMixin.MeshServiceDiscoveryProperty serviceDiscovery) Sets the value ofCfnMeshPropsMixin.MeshSpecProperty.getServiceDiscovery()serviceDiscovery(IResolvable serviceDiscovery) Sets the value ofCfnMeshPropsMixin.MeshSpecProperty.getServiceDiscovery()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
egressFilter
@Stability(Stable) public CfnMeshPropsMixin.MeshSpecProperty.Builder egressFilter(IResolvable egressFilter) Sets the value ofCfnMeshPropsMixin.MeshSpecProperty.getEgressFilter()- Parameters:
egressFilter- The egress filter rules for the service mesh.- Returns:
this
-
egressFilter
@Stability(Stable) public CfnMeshPropsMixin.MeshSpecProperty.Builder egressFilter(CfnMeshPropsMixin.EgressFilterProperty egressFilter) Sets the value ofCfnMeshPropsMixin.MeshSpecProperty.getEgressFilter()- Parameters:
egressFilter- The egress filter rules for the service mesh.- Returns:
this
-
serviceDiscovery
@Stability(Stable) public CfnMeshPropsMixin.MeshSpecProperty.Builder serviceDiscovery(IResolvable serviceDiscovery) Sets the value ofCfnMeshPropsMixin.MeshSpecProperty.getServiceDiscovery()- Parameters:
serviceDiscovery- An object that represents the service discovery information for a service mesh.- Returns:
this
-
serviceDiscovery
@Stability(Stable) public CfnMeshPropsMixin.MeshSpecProperty.Builder serviceDiscovery(CfnMeshPropsMixin.MeshServiceDiscoveryProperty serviceDiscovery) Sets the value ofCfnMeshPropsMixin.MeshSpecProperty.getServiceDiscovery()- Parameters:
serviceDiscovery- An object that represents the service discovery information for a service mesh.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMeshPropsMixin.MeshSpecProperty>- Returns:
- a new instance of
CfnMeshPropsMixin.MeshSpecProperty - Throws:
NullPointerException- if any required attribute was not provided
-