Class ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements>
- Enclosing interface:
ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements
@Stability(Experimental)
public static final class ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements>
A builder for
ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacknowledgment(List<String> acknowledgment) build()Builds the configured instance.Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.getEndpoint()Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.getFailures()tasks(List<? extends ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem> tasks) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.getTasks()telemetryEndpoint(List<String> telemetryEndpoint)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acknowledgment
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder acknowledgment(List<String> acknowledgment) - 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 ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder endpoint(List<String> endpoint) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.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 ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder failures(List<String> failures) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.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 ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder tasks(List<? extends ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem> tasks) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.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 ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder telemetryEndpoint(List<String> telemetryEndpoint) - 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<ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements>- Returns:
- a new instance of
ClusterEvents.AWSAPICallViaCloudTrail.ResponseElements - Throws:
NullPointerException- if any required attribute was not provided
-