Interface VirtualGatewaySpec.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<VirtualGatewaySpec.Builder,,- VirtualGatewaySpec> - SdkBuilder<VirtualGatewaySpec.Builder,,- VirtualGatewaySpec> - SdkPojo
- Enclosing class:
- VirtualGatewaySpec
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
backendDefaultsA 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.
 
- 
backendDefaultsdefault 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 on- VirtualGatewayBackendDefaults.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
listenersThe 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.
 
- 
listenersThe 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.
 
- 
listenersThe 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 on- VirtualGatewayListener.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
loggingSets 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.
 
- 
loggingSets 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 on- VirtualGatewayLogging.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-