public static final class CfnVirtualNode.Builder
extends java.lang.Object
CfnVirtualNode
.Modifier and Type | Method and Description |
---|---|
CfnVirtualNode |
build() |
static CfnVirtualNode.Builder |
create(Construct scope,
java.lang.String id) |
CfnVirtualNode.Builder |
meshName(java.lang.String meshName)
The name of the service mesh to create the virtual node in.
|
CfnVirtualNode.Builder |
meshOwner(java.lang.String meshOwner)
The AWS IAM account ID of the service mesh owner.
|
CfnVirtualNode.Builder |
spec(CfnVirtualNode.VirtualNodeSpecProperty spec)
The virtual node specification to apply.
|
CfnVirtualNode.Builder |
spec(IResolvable spec)
The virtual node specification to apply.
|
CfnVirtualNode.Builder |
tags(java.util.List<? extends CfnTag> tags)
Optional metadata that you can apply to the virtual node to assist with categorization and organization.
|
CfnVirtualNode.Builder |
virtualNodeName(java.lang.String virtualNodeName)
The name to use for the virtual node.
|
public static CfnVirtualNode.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnVirtualNode.AccessLogProperty.Builder
.public CfnVirtualNode.Builder meshName(java.lang.String meshName)
meshName
- The name of the service mesh to create the virtual node in. This parameter is required.this
public CfnVirtualNode.Builder spec(IResolvable spec)
spec
- The virtual node specification to apply. This parameter is required.this
public CfnVirtualNode.Builder spec(CfnVirtualNode.VirtualNodeSpecProperty spec)
spec
- The virtual node specification to apply. This parameter is required.this
public CfnVirtualNode.Builder meshOwner(java.lang.String meshOwner)
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 .
meshOwner
- The AWS IAM account ID of the service mesh owner. This parameter is required.this
public CfnVirtualNode.Builder tags(java.util.List<? extends CfnTag> tags)
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.
tags
- Optional metadata that you can apply to the virtual node to assist with categorization and organization. This parameter is required.this
public CfnVirtualNode.Builder virtualNodeName(java.lang.String virtualNodeName)
virtualNodeName
- The name to use for the virtual node. This parameter is required.this
public CfnVirtualNode build()