public static final class CfnVirtualNodeProps.Builder
extends java.lang.Object
CfnVirtualNodeProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnVirtualNodeProps |
build()
Builds the configured instance.
|
CfnVirtualNodeProps.Builder |
meshName(java.lang.String meshName)
Sets the value of
CfnVirtualNodeProps.getMeshName() |
CfnVirtualNodeProps.Builder |
meshOwner(java.lang.String meshOwner)
Sets the value of
CfnVirtualNodeProps.getMeshOwner() |
CfnVirtualNodeProps.Builder |
spec(CfnVirtualNode.VirtualNodeSpecProperty spec)
Sets the value of
CfnVirtualNodeProps.getSpec() |
CfnVirtualNodeProps.Builder |
spec(IResolvable spec)
Sets the value of
CfnVirtualNodeProps.getSpec() |
CfnVirtualNodeProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnVirtualNodeProps.getTags() |
CfnVirtualNodeProps.Builder |
virtualNodeName(java.lang.String virtualNodeName)
Sets the value of
CfnVirtualNodeProps.getVirtualNodeName() |
public CfnVirtualNodeProps.Builder meshName(java.lang.String meshName)
CfnVirtualNodeProps.getMeshName()
meshName
- The name of the service mesh to create the virtual node in. This parameter is required.this
public CfnVirtualNodeProps.Builder spec(IResolvable spec)
CfnVirtualNodeProps.getSpec()
spec
- The virtual node specification to apply. This parameter is required.this
public CfnVirtualNodeProps.Builder spec(CfnVirtualNode.VirtualNodeSpecProperty spec)
CfnVirtualNodeProps.getSpec()
spec
- The virtual node specification to apply. This parameter is required.this
public CfnVirtualNodeProps.Builder meshOwner(java.lang.String meshOwner)
CfnVirtualNodeProps.getMeshOwner()
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 .this
public CfnVirtualNodeProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnVirtualNodeProps.getTags()
tags
- Optional metadata that you can apply to the virtual node 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.this
public CfnVirtualNodeProps.Builder virtualNodeName(java.lang.String virtualNodeName)
CfnVirtualNodeProps.getVirtualNodeName()
virtualNodeName
- The name to use for the virtual node.this
public CfnVirtualNodeProps build()
CfnVirtualNodeProps
java.lang.NullPointerException
- if any required attribute was not provided