Class MeshReference.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.MeshReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MeshReference>
- Enclosing interface:
MeshReference
@Stability(Stable)
public static final class MeshReference.Builder
extends Object
implements software.amazon.jsii.Builder<MeshReference>
A builder for
MeshReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofMeshReference.getMeshArn()Sets the value ofMeshReference.getMeshId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
meshArn
Sets the value ofMeshReference.getMeshArn()- Parameters:
meshArn- The ARN of the Mesh resource. This parameter is required.- Returns:
this
-
meshId
Sets the value ofMeshReference.getMeshId()- Parameters:
meshId- The Id of the Mesh resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MeshReference>- Returns:
- a new instance of
MeshReference - Throws:
NullPointerException- if any required attribute was not provided
-