Class CfnVirtualRouterPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnVirtualRouterPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualRouterPropsMixin>
- Enclosing class:
CfnVirtualRouterPropsMixin
@Stability(Stable)
public static final class CfnVirtualRouterPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualRouterPropsMixin>
A fluent builder for
CfnVirtualRouterPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The name of the service mesh to create the virtual router in.The AWS IAM account ID of the service mesh owner.The virtual router specification to apply.spec(IResolvable spec) The virtual router specification to apply.Optional metadata that you can apply to the virtual router to assist with categorization and organization.virtualRouterName(String virtualRouterName) The name to use for the virtual router.
-
Method Details
-
create
@Stability(Stable) public static CfnVirtualRouterPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnVirtualRouterPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnVirtualRouterPropsMixin.Builder.
-
meshName
The name of the service mesh to create the virtual router in.- Parameters:
meshName- The name of the service mesh to create the virtual router in. This parameter is required.- Returns:
this- See Also:
-
meshOwner
The AWS IAM account ID of the service mesh owner.If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes .
- Parameters:
meshOwner- The AWS IAM account ID of the service mesh owner. This parameter is required.- Returns:
this- See Also:
-
spec
The virtual router specification to apply.- Parameters:
spec- The virtual router specification to apply. This parameter is required.- Returns:
this- See Also:
-
spec
@Stability(Stable) public CfnVirtualRouterPropsMixin.Builder spec(CfnVirtualRouterPropsMixin.VirtualRouterSpecProperty spec) The virtual router specification to apply.- Parameters:
spec- The virtual router specification to apply. This parameter is required.- Returns:
this- See Also:
-
tags
Optional metadata that you can apply to the virtual router to assist with categorization and organization.Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- Parameters:
tags- Optional metadata that you can apply to the virtual router to assist with categorization and organization. This parameter is required.- Returns:
this- See Also:
-
virtualRouterName
@Stability(Stable) public CfnVirtualRouterPropsMixin.Builder virtualRouterName(String virtualRouterName) The name to use for the virtual router.- Parameters:
virtualRouterName- The name to use for the virtual router. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVirtualRouterPropsMixin>- Returns:
- a newly built instance of
CfnVirtualRouterPropsMixin.
-