Interface VirtualGatewaySpec.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualGatewaySpec.Builder,
,VirtualGatewaySpec> SdkBuilder<VirtualGatewaySpec.Builder,
,VirtualGatewaySpec> SdkPojo
- Enclosing class:
VirtualGatewaySpec
-
Method Summary
Modifier and TypeMethodDescriptiondefault VirtualGatewaySpec.Builder
backendDefaults
(Consumer<VirtualGatewayBackendDefaults.Builder> backendDefaults) A reference to an object that represents the defaults for backends.backendDefaults
(VirtualGatewayBackendDefaults backendDefaults) A reference to an object that represents the defaults for backends.listeners
(Collection<VirtualGatewayListener> listeners) The listeners that the mesh endpoint is expected to receive inbound traffic from.listeners
(Consumer<VirtualGatewayListener.Builder>... listeners) The listeners that the mesh endpoint is expected to receive inbound traffic from.listeners
(VirtualGatewayListener... listeners) The listeners that the mesh endpoint is expected to receive inbound traffic from.default VirtualGatewaySpec.Builder
logging
(Consumer<VirtualGatewayLogging.Builder> logging) Sets the value of the Logging property for this object.logging
(VirtualGatewayLogging logging) Sets the value of the Logging property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
backendDefaults
A reference to an object that represents the defaults for backends.
- Parameters:
backendDefaults
- A reference to an object that represents the defaults for backends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backendDefaults
default VirtualGatewaySpec.Builder backendDefaults(Consumer<VirtualGatewayBackendDefaults.Builder> backendDefaults) A reference to an object that represents the defaults for backends.
This is a convenience method that creates an instance of theVirtualGatewayBackendDefaults.Builder
avoiding the need to create one manually viaVirtualGatewayBackendDefaults.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackendDefaults(VirtualGatewayBackendDefaults)
.- Parameters:
backendDefaults
- a consumer that will call methods onVirtualGatewayBackendDefaults.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
listeners
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
- Parameters:
listeners
- The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listeners
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
- Parameters:
listeners
- The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listeners
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
This is a convenience method that creates an instance of theVirtualGatewayListener.Builder
avoiding the need to create one manually viaVirtualGatewayListener.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolisteners(List<VirtualGatewayListener>)
.- Parameters:
listeners
- a consumer that will call methods onVirtualGatewayListener.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logging
Sets the value of the Logging property for this object.- Parameters:
logging
- The new value for the Logging property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logging
Sets the value of the Logging property for this object. This is a convenience method that creates an instance of theVirtualGatewayLogging.Builder
avoiding the need to create one manually viaVirtualGatewayLogging.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologging(VirtualGatewayLogging)
.- Parameters:
logging
- a consumer that will call methods onVirtualGatewayLogging.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-