Interface VirtualGatewaySpec.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualGatewaySpec.Builder,VirtualGatewaySpec>,SdkBuilder<VirtualGatewaySpec.Builder,VirtualGatewaySpec>,SdkPojo
- Enclosing class:
- VirtualGatewaySpec
public static interface VirtualGatewaySpec.Builder extends SdkPojo, CopyableBuilder<VirtualGatewaySpec.Builder,VirtualGatewaySpec>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VirtualGatewaySpec.BuilderbackendDefaults(Consumer<VirtualGatewayBackendDefaults.Builder> backendDefaults)A reference to an object that represents the defaults for backends.VirtualGatewaySpec.BuilderbackendDefaults(VirtualGatewayBackendDefaults backendDefaults)A reference to an object that represents the defaults for backends.VirtualGatewaySpec.Builderlisteners(Collection<VirtualGatewayListener> listeners)The listeners that the mesh endpoint is expected to receive inbound traffic from.VirtualGatewaySpec.Builderlisteners(Consumer<VirtualGatewayListener.Builder>... listeners)The listeners that the mesh endpoint is expected to receive inbound traffic from.VirtualGatewaySpec.Builderlisteners(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.VirtualGatewaySpec.Builderlogging(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 Detail
-
backendDefaults
VirtualGatewaySpec.Builder backendDefaults(VirtualGatewayBackendDefaults 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:
backendDefaults(VirtualGatewayBackendDefaults)
-
listeners
VirtualGatewaySpec.Builder listeners(Collection<VirtualGatewayListener> 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
VirtualGatewaySpec.Builder listeners(VirtualGatewayListener... 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
VirtualGatewaySpec.Builder listeners(Consumer<VirtualGatewayListener.Builder>... 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 to#listeners(List.) - 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:
#listeners(java.util.Collection)
-
logging
VirtualGatewaySpec.Builder logging(VirtualGatewayLogging 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
default VirtualGatewaySpec.Builder logging(Consumer<VirtualGatewayLogging.Builder> 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:
logging(VirtualGatewayLogging)
-
-