Class CfnVirtualService.VirtualRouterServiceProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualService.VirtualRouterServiceProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualService.VirtualRouterServiceProviderProperty>
- Enclosing interface:
CfnVirtualService.VirtualRouterServiceProviderProperty
@Stability(Stable)
public static final class CfnVirtualService.VirtualRouterServiceProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualService.VirtualRouterServiceProviderProperty>
A builder for
CfnVirtualService.VirtualRouterServiceProviderProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.virtualRouterName
(String virtualRouterName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
virtualRouterName
@Stability(Stable) public CfnVirtualService.VirtualRouterServiceProviderProperty.Builder virtualRouterName(String virtualRouterName) - Parameters:
virtualRouterName
- The name of the virtual router that is acting as a service provider. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualService.VirtualRouterServiceProviderProperty>
- Returns:
- a new instance of
CfnVirtualService.VirtualRouterServiceProviderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-