Class CfnVirtualGateway.VirtualGatewaySpecProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualGateway.VirtualGatewaySpecProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewaySpecProperty>
- Enclosing interface:
CfnVirtualGateway.VirtualGatewaySpecProperty
@Stability(Stable)
public static final class CfnVirtualGateway.VirtualGatewaySpecProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewaySpecProperty>
A builder for
CfnVirtualGateway.VirtualGatewaySpecProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackendDefaults(IResolvable backendDefaults) Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getBackendDefaults()backendDefaults(CfnVirtualGateway.VirtualGatewayBackendDefaultsProperty backendDefaults) Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getBackendDefaults()build()Builds the configured instance.Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getListeners()listeners(IResolvable listeners) Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getListeners()logging(IResolvable logging) Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getLogging()Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getLogging()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
listeners
@Stability(Stable) public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder listeners(IResolvable listeners) Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getListeners()- Parameters:
listeners- The listeners that the mesh endpoint is expected to receive inbound traffic from. This parameter is required. You can specify one listener.- Returns:
this
-
listeners
@Stability(Stable) public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder listeners(List<? extends Object> listeners) Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getListeners()- Parameters:
listeners- The listeners that the mesh endpoint is expected to receive inbound traffic from. This parameter is required. You can specify one listener.- Returns:
this
-
backendDefaults
@Stability(Stable) public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder backendDefaults(IResolvable backendDefaults) Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getBackendDefaults()- Parameters:
backendDefaults- A reference to an object that represents the defaults for backends.- Returns:
this
-
backendDefaults
@Stability(Stable) public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder backendDefaults(CfnVirtualGateway.VirtualGatewayBackendDefaultsProperty backendDefaults) Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getBackendDefaults()- Parameters:
backendDefaults- A reference to an object that represents the defaults for backends.- Returns:
this
-
logging
@Stability(Stable) public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder logging(IResolvable logging) Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getLogging()- Parameters:
logging- An object that represents logging information.- Returns:
this
-
logging
@Stability(Stable) public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder logging(CfnVirtualGateway.VirtualGatewayLoggingProperty logging) Sets the value ofCfnVirtualGateway.VirtualGatewaySpecProperty.getLogging()- Parameters:
logging- An object that represents logging information.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewaySpecProperty>- Returns:
- a new instance of
CfnVirtualGateway.VirtualGatewaySpecProperty - Throws:
NullPointerException- if any required attribute was not provided
-