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