Interface VirtualGatewaySpec.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualGatewaySpec.Builder,,VirtualGatewaySpec> SdkBuilder<VirtualGatewaySpec.Builder,,VirtualGatewaySpec> SdkPojo
- Enclosing class:
VirtualGatewaySpec
-
Method Summary
Modifier and TypeMethodDescriptiondefault VirtualGatewaySpec.BuilderbackendDefaults(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.Builderlogging(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaVirtualGatewayBackendDefaults.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaVirtualGatewayListener.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaVirtualGatewayLogging.builder().When the
Consumercompletes,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:
-