Class CfnVirtualService.VirtualServiceProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualService.VirtualServiceProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualService.VirtualServiceProviderProperty>
- Enclosing interface:
CfnVirtualService.VirtualServiceProviderProperty
@Stability(Stable)
public static final class CfnVirtualService.VirtualServiceProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualService.VirtualServiceProviderProperty>
A builder for
CfnVirtualService.VirtualServiceProviderProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.virtualNode
(IResolvable virtualNode) Sets the value ofCfnVirtualService.VirtualServiceProviderProperty.getVirtualNode()
Sets the value ofCfnVirtualService.VirtualServiceProviderProperty.getVirtualNode()
virtualRouter
(IResolvable virtualRouter) Sets the value ofCfnVirtualService.VirtualServiceProviderProperty.getVirtualRouter()
Sets the value ofCfnVirtualService.VirtualServiceProviderProperty.getVirtualRouter()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
virtualNode
@Stability(Stable) public CfnVirtualService.VirtualServiceProviderProperty.Builder virtualNode(IResolvable virtualNode) Sets the value ofCfnVirtualService.VirtualServiceProviderProperty.getVirtualNode()
- Parameters:
virtualNode
- The virtual node associated with a virtual service.- Returns:
this
-
virtualNode
@Stability(Stable) public CfnVirtualService.VirtualServiceProviderProperty.Builder virtualNode(CfnVirtualService.VirtualNodeServiceProviderProperty virtualNode) Sets the value ofCfnVirtualService.VirtualServiceProviderProperty.getVirtualNode()
- Parameters:
virtualNode
- The virtual node associated with a virtual service.- Returns:
this
-
virtualRouter
@Stability(Stable) public CfnVirtualService.VirtualServiceProviderProperty.Builder virtualRouter(IResolvable virtualRouter) Sets the value ofCfnVirtualService.VirtualServiceProviderProperty.getVirtualRouter()
- Parameters:
virtualRouter
- The virtual router associated with a virtual service.- Returns:
this
-
virtualRouter
@Stability(Stable) public CfnVirtualService.VirtualServiceProviderProperty.Builder virtualRouter(CfnVirtualService.VirtualRouterServiceProviderProperty virtualRouter) Sets the value ofCfnVirtualService.VirtualServiceProviderProperty.getVirtualRouter()
- Parameters:
virtualRouter
- The virtual router associated with a virtual service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualService.VirtualServiceProviderProperty>
- Returns:
- a new instance of
CfnVirtualService.VirtualServiceProviderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-