Class CfnApplicationStatusCheck.HealthCheckPathProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnApplicationStatusCheck.HealthCheckPathProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationStatusCheck.HealthCheckPathProperty>
- Enclosing interface:
CfnApplicationStatusCheck.HealthCheckPathProperty
@Stability(Stable)
public static final class CfnApplicationStatusCheck.HealthCheckPathProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationStatusCheck.HealthCheckPathProperty>
A builder for
CfnApplicationStatusCheck.HealthCheckPathProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinations(List<? extends Object> destinations) Sets the value ofCfnApplicationStatusCheck.HealthCheckPathProperty.getDestinations()destinations(IResolvable destinations) Sets the value ofCfnApplicationStatusCheck.HealthCheckPathProperty.getDestinations()source(IResolvable source) Sets the value ofCfnApplicationStatusCheck.HealthCheckPathProperty.getSource()Sets the value ofCfnApplicationStatusCheck.HealthCheckPathProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
@Stability(Stable) public CfnApplicationStatusCheck.HealthCheckPathProperty.Builder destinations(IResolvable destinations) Sets the value ofCfnApplicationStatusCheck.HealthCheckPathProperty.getDestinations()- Parameters:
destinations- the value to be set.- Returns:
this
-
destinations
@Stability(Stable) public CfnApplicationStatusCheck.HealthCheckPathProperty.Builder destinations(List<? extends Object> destinations) Sets the value ofCfnApplicationStatusCheck.HealthCheckPathProperty.getDestinations()- Parameters:
destinations- the value to be set.- Returns:
this
-
source
@Stability(Stable) public CfnApplicationStatusCheck.HealthCheckPathProperty.Builder source(IResolvable source) Sets the value ofCfnApplicationStatusCheck.HealthCheckPathProperty.getSource()- Parameters:
source- the value to be set.- Returns:
this
-
source
@Stability(Stable) public CfnApplicationStatusCheck.HealthCheckPathProperty.Builder source(CfnApplicationStatusCheck.HealthCheckPathSourceProperty source) Sets the value ofCfnApplicationStatusCheck.HealthCheckPathProperty.getSource()- Parameters:
source- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationStatusCheck.HealthCheckPathProperty>- Returns:
- a new instance of
CfnApplicationStatusCheck.HealthCheckPathProperty - Throws:
NullPointerException- if any required attribute was not provided
-