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