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