Class AWSAPICallViaCloudTrail.HealthCheck1.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.elasticloadbalancing.events.AWSAPICallViaCloudTrail.HealthCheck1.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.HealthCheck1>
- Enclosing interface:
AWSAPICallViaCloudTrail.HealthCheck1
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.HealthCheck1.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.HealthCheck1>
A builder for
AWSAPICallViaCloudTrail.HealthCheck1-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.healthyThreshold(List<String> healthyThreshold) Sets the value ofAWSAPICallViaCloudTrail.HealthCheck1.getHealthyThreshold()Sets the value ofAWSAPICallViaCloudTrail.HealthCheck1.getInterval()Sets the value ofAWSAPICallViaCloudTrail.HealthCheck1.getTarget()Sets the value ofAWSAPICallViaCloudTrail.HealthCheck1.getTimeout()unhealthyThreshold(List<String> unhealthyThreshold) Sets the value ofAWSAPICallViaCloudTrail.HealthCheck1.getUnhealthyThreshold()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
healthyThreshold
@Stability(Experimental) public AWSAPICallViaCloudTrail.HealthCheck1.Builder healthyThreshold(List<String> healthyThreshold) Sets the value ofAWSAPICallViaCloudTrail.HealthCheck1.getHealthyThreshold()- Parameters:
healthyThreshold- healthyThreshold property. Specify an array of string values to match this event if the actual value of healthyThreshold is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
interval
@Stability(Experimental) public AWSAPICallViaCloudTrail.HealthCheck1.Builder interval(List<String> interval) Sets the value ofAWSAPICallViaCloudTrail.HealthCheck1.getInterval()- Parameters:
interval- interval property. Specify an array of string values to match this event if the actual value of interval is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
target
@Stability(Experimental) public AWSAPICallViaCloudTrail.HealthCheck1.Builder target(List<String> target) Sets the value ofAWSAPICallViaCloudTrail.HealthCheck1.getTarget()- Parameters:
target- target property. Specify an array of string values to match this event if the actual value of target is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
timeout
@Stability(Experimental) public AWSAPICallViaCloudTrail.HealthCheck1.Builder timeout(List<String> timeout) Sets the value ofAWSAPICallViaCloudTrail.HealthCheck1.getTimeout()- Parameters:
timeout- timeout property. Specify an array of string values to match this event if the actual value of timeout is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unhealthyThreshold
@Stability(Experimental) public AWSAPICallViaCloudTrail.HealthCheck1.Builder unhealthyThreshold(List<String> unhealthyThreshold) Sets the value ofAWSAPICallViaCloudTrail.HealthCheck1.getUnhealthyThreshold()- Parameters:
unhealthyThreshold- unhealthyThreshold property. Specify an array of string values to match this event if the actual value of unhealthyThreshold is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AWSAPICallViaCloudTrail.HealthCheck1>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.HealthCheck1 - Throws:
NullPointerException- if any required attribute was not provided
-