Class AWSAPICallViaCloudTrail.RequestParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.elasticloadbalancing.events.AWSAPICallViaCloudTrail.RequestParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParameters>
- Enclosing interface:
AWSAPICallViaCloudTrail.RequestParameters
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.RequestParameters.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParameters>
A builder for
AWSAPICallViaCloudTrail.RequestParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.healthCheck(AWSAPICallViaCloudTrail.HealthCheck1 healthCheck) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getHealthCheck()instances(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItem> instances) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getInstances()listeners(List<? extends AWSAPICallViaCloudTrail.RequestParametersItem> listeners) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getListeners()loadBalancerName(List<String> loadBalancerName) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getLoadBalancerName()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getSubnets()targetGroupArn(List<String> targetGroupArn) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getTargetGroupArn()targets(List<? extends AWSAPICallViaCloudTrail.RequestParametersItem1> targets) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getTargets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
healthCheck
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder healthCheck(AWSAPICallViaCloudTrail.HealthCheck1 healthCheck) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getHealthCheck()- Parameters:
healthCheck- healthCheck property. Specify an array of string values to match this event if the actual value of healthCheck is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
instances
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder instances(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItem> instances) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getInstances()- Parameters:
instances- instances property. Specify an array of string values to match this event if the actual value of instances is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
listeners
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder listeners(List<? extends AWSAPICallViaCloudTrail.RequestParametersItem> listeners) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getListeners()- Parameters:
listeners- listeners property. Specify an array of string values to match this event if the actual value of listeners is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
loadBalancerName
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder loadBalancerName(List<String> loadBalancerName) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getLoadBalancerName()- Parameters:
loadBalancerName- loadBalancerName property. Specify an array of string values to match this event if the actual value of loadBalancerName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
subnets
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder subnets(List<String> subnets) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getSubnets()- Parameters:
subnets- subnets property. Specify an array of string values to match this event if the actual value of subnets is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
targetGroupArn
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder targetGroupArn(List<String> targetGroupArn) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getTargetGroupArn()- Parameters:
targetGroupArn- targetGroupArn property. Specify an array of string values to match this event if the actual value of targetGroupArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
targets
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder targets(List<? extends AWSAPICallViaCloudTrail.RequestParametersItem1> targets) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getTargets()- Parameters:
targets- targets property. Specify an array of string values to match this event if the actual value of targets 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.RequestParameters>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.RequestParameters - Throws:
NullPointerException- if any required attribute was not provided
-