Class AWSAPICallViaCloudTrail.ResponseElements.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.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 TypeMethodDescriptionacknowledgment(List<String> acknowledgment) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getAcknowledgment()build()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getEndpoint()Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFailures()tasks(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItem> tasks) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getTasks()telemetryEndpoint(List<String> telemetryEndpoint) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getTelemetryEndpoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acknowledgment
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder acknowledgment(List<String> acknowledgment) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getAcknowledgment()- Parameters:
acknowledgment- acknowledgment property. Specify an array of string values to match this event if the actual value of acknowledgment is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
endpoint
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder endpoint(List<String> endpoint) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getEndpoint()- Parameters:
endpoint- endpoint property. Specify an array of string values to match this event if the actual value of endpoint is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
failures
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder failures(List<String> failures) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFailures()- Parameters:
failures- failures property. Specify an array of string values to match this event if the actual value of failures is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
tasks
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder tasks(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItem> tasks) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getTasks()- Parameters:
tasks- tasks property. Specify an array of string values to match this event if the actual value of tasks is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
telemetryEndpoint
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder telemetryEndpoint(List<String> telemetryEndpoint) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getTelemetryEndpoint()- Parameters:
telemetryEndpoint- telemetryEndpoint property. Specify an array of string values to match this event if the actual value of telemetryEndpoint 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
-