Class CfnMeshProps.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnMeshProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMeshProps>
- Enclosing interface:
CfnMeshProps
@Stability(Stable)
public static final class CfnMeshProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMeshProps>
A builder for
CfnMeshProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnMeshProps.getMeshName()
spec
(IResolvable spec) Sets the value ofCfnMeshProps.getSpec()
spec
(CfnMesh.MeshSpecProperty spec) Sets the value ofCfnMeshProps.getSpec()
Sets the value ofCfnMeshProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
meshName
Sets the value ofCfnMeshProps.getMeshName()
- Parameters:
meshName
- The name to use for the service mesh.- Returns:
this
-
spec
Sets the value ofCfnMeshProps.getSpec()
- Parameters:
spec
- The service mesh specification to apply.- Returns:
this
-
spec
Sets the value ofCfnMeshProps.getSpec()
- Parameters:
spec
- The service mesh specification to apply.- Returns:
this
-
tags
Sets the value ofCfnMeshProps.getTags()
- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMeshProps>
- Returns:
- a new instance of
CfnMeshProps
- Throws:
NullPointerException
- if any required attribute was not provided
-