Class VirtualGatewayAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.VirtualGatewayAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VirtualGatewayAttributes>
- Enclosing interface:
- VirtualGatewayAttributes
@Stability(Stable)
public static final class VirtualGatewayAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<VirtualGatewayAttributes>
A builder for
VirtualGatewayAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofVirtualGatewayAttributes.getMesh()
virtualGatewayName
(String virtualGatewayName) Sets the value ofVirtualGatewayAttributes.getVirtualGatewayName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mesh
Sets the value ofVirtualGatewayAttributes.getMesh()
- Parameters:
mesh
- The Mesh that the VirtualGateway belongs to. This parameter is required.- Returns:
this
-
virtualGatewayName
@Stability(Stable) public VirtualGatewayAttributes.Builder virtualGatewayName(String virtualGatewayName) Sets the value ofVirtualGatewayAttributes.getVirtualGatewayName()
- Parameters:
virtualGatewayName
- The name of the VirtualGateway. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<VirtualGatewayAttributes>
- Returns:
- a new instance of
VirtualGatewayAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-