public static final class CfnVirtualGateway.VirtualGatewaySpecProperty.Builder
extends java.lang.Object
CfnVirtualGateway.VirtualGatewaySpecProperty
Constructor and Description |
---|
Builder() |
public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder listeners(IResolvable listeners)
CfnVirtualGateway.VirtualGatewaySpecProperty.getListeners()
listeners
- The listeners that the mesh endpoint is expected to receive inbound traffic from. This parameter is required.
You can specify one listener.this
public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder listeners(java.util.List<? extends java.lang.Object> listeners)
CfnVirtualGateway.VirtualGatewaySpecProperty.getListeners()
listeners
- The listeners that the mesh endpoint is expected to receive inbound traffic from. This parameter is required.
You can specify one listener.this
public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder backendDefaults(IResolvable backendDefaults)
CfnVirtualGateway.VirtualGatewaySpecProperty.getBackendDefaults()
backendDefaults
- A reference to an object that represents the defaults for backends.this
public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder backendDefaults(CfnVirtualGateway.VirtualGatewayBackendDefaultsProperty backendDefaults)
CfnVirtualGateway.VirtualGatewaySpecProperty.getBackendDefaults()
backendDefaults
- A reference to an object that represents the defaults for backends.this
public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder logging(IResolvable logging)
CfnVirtualGateway.VirtualGatewaySpecProperty.getLogging()
logging
- An object that represents logging information.this
public CfnVirtualGateway.VirtualGatewaySpecProperty.Builder logging(CfnVirtualGateway.VirtualGatewayLoggingProperty logging)
CfnVirtualGateway.VirtualGatewaySpecProperty.getLogging()
logging
- An object that represents logging information.this
public CfnVirtualGateway.VirtualGatewaySpecProperty build()
CfnVirtualGateway.VirtualGatewaySpecProperty
java.lang.NullPointerException
- if any required attribute was not provided