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