Class CfnVirtualNode.BackendProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualNode.BackendProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualNode.BackendProperty>
- Enclosing interface:
CfnVirtualNode.BackendProperty
@Stability(Stable)
public static final class CfnVirtualNode.BackendProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualNode.BackendProperty>
A builder for
CfnVirtualNode.BackendProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.virtualService
(IResolvable virtualService) Sets the value ofCfnVirtualNode.BackendProperty.getVirtualService()
virtualService
(CfnVirtualNode.VirtualServiceBackendProperty virtualService) Sets the value ofCfnVirtualNode.BackendProperty.getVirtualService()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
virtualService
@Stability(Stable) public CfnVirtualNode.BackendProperty.Builder virtualService(IResolvable virtualService) Sets the value ofCfnVirtualNode.BackendProperty.getVirtualService()
- Parameters:
virtualService
- Specifies a virtual service to use as a backend.- Returns:
this
-
virtualService
@Stability(Stable) public CfnVirtualNode.BackendProperty.Builder virtualService(CfnVirtualNode.VirtualServiceBackendProperty virtualService) Sets the value ofCfnVirtualNode.BackendProperty.getVirtualService()
- Parameters:
virtualService
- Specifies a virtual service to use as a backend.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualNode.BackendProperty>
- Returns:
- a new instance of
CfnVirtualNode.BackendProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-