Class BackendConfig.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.BackendConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BackendConfig>
- Enclosing interface:
BackendConfig
@Stability(Stable)
public static final class BackendConfig.Builder
extends Object
implements software.amazon.jsii.Builder<BackendConfig>
A builder for
BackendConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.virtualServiceBackend(CfnVirtualNode.BackendProperty virtualServiceBackend) Sets the value ofBackendConfig.getVirtualServiceBackend()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
virtualServiceBackend
@Stability(Stable) public BackendConfig.Builder virtualServiceBackend(CfnVirtualNode.BackendProperty virtualServiceBackend) Sets the value ofBackendConfig.getVirtualServiceBackend()- Parameters:
virtualServiceBackend- Config for a Virtual Service backend. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BackendConfig>- Returns:
- a new instance of
BackendConfig - Throws:
NullPointerException- if any required attribute was not provided
-