Class ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters>
- Enclosing interface:
ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters
@Stability(Experimental)
public static final class ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters>
A builder for
ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getCluster()containerInstance(List<String> containerInstance) containers(List<? extends ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem1> containers) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getContainers()Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getCount()enableEcsManagedTags(List<String> enableEcsManagedTags) executionStoppedAt(List<String> executionStoppedAt) launchType(List<String> launchType) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getLaunchType()networkConfiguration(ClusterEvents.AWSAPICallViaCloudTrail.NetworkConfiguration networkConfiguration) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getOverrides()placementConstraints(List<? extends ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem> placementConstraints) pullStartedAt(List<String> pullStartedAt) pullStoppedAt(List<String> pullStoppedAt) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getReason()Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getStartedBy()Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getStatus()Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getTask()taskDefinition(List<String> taskDefinition)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cluster
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder cluster(List<String> cluster) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getCluster()- Parameters:
cluster- cluster property. Specify an array of string values to match this event if the actual value of cluster is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
containerInstance
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder containerInstance(List<String> containerInstance) - Parameters:
containerInstance- containerInstance property. Specify an array of string values to match this event if the actual value of containerInstance is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
containers
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder containers(List<? extends ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem1> containers) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getContainers()- Parameters:
containers- containers property. Specify an array of string values to match this event if the actual value of containers is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
count
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder count(List<String> count) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getCount()- Parameters:
count- count property. Specify an array of string values to match this event if the actual value of count is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
enableEcsManagedTags
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder enableEcsManagedTags(List<String> enableEcsManagedTags) - Parameters:
enableEcsManagedTags- enableECSManagedTags property. Specify an array of string values to match this event if the actual value of enableECSManagedTags is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
executionStoppedAt
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder executionStoppedAt(List<String> executionStoppedAt) - Parameters:
executionStoppedAt- executionStoppedAt property. Specify an array of string values to match this event if the actual value of executionStoppedAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
launchType
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder launchType(List<String> launchType) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getLaunchType()- Parameters:
launchType- launchType property. Specify an array of string values to match this event if the actual value of launchType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
networkConfiguration
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder networkConfiguration(ClusterEvents.AWSAPICallViaCloudTrail.NetworkConfiguration networkConfiguration) - Parameters:
networkConfiguration- networkConfiguration property. Specify an array of string values to match this event if the actual value of networkConfiguration is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
overrides
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder overrides(ClusterEvents.AWSAPICallViaCloudTrail.Overrides overrides) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getOverrides()- Parameters:
overrides- overrides property. Specify an array of string values to match this event if the actual value of overrides is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
placementConstraints
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder placementConstraints(List<? extends ClusterEvents.AWSAPICallViaCloudTrail.RequestParametersItem> placementConstraints) - Parameters:
placementConstraints- placementConstraints property. Specify an array of string values to match this event if the actual value of placementConstraints is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
pullStartedAt
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder pullStartedAt(List<String> pullStartedAt) - Parameters:
pullStartedAt- pullStartedAt property. Specify an array of string values to match this event if the actual value of pullStartedAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
pullStoppedAt
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder pullStoppedAt(List<String> pullStoppedAt) - Parameters:
pullStoppedAt- pullStoppedAt property. Specify an array of string values to match this event if the actual value of pullStoppedAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
reason
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder reason(List<String> reason) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getReason()- Parameters:
reason- reason property. Specify an array of string values to match this event if the actual value of reason is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startedBy
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder startedBy(List<String> startedBy) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getStartedBy()- Parameters:
startedBy- startedBy property. Specify an array of string values to match this event if the actual value of startedBy is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
status
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder status(List<String> status) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getStatus()- Parameters:
status- status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
task
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder task(List<String> task) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.getTask()- Parameters:
task- task property. Specify an array of string values to match this event if the actual value of task is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
taskDefinition
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters.Builder taskDefinition(List<String> taskDefinition) - Parameters:
taskDefinition- taskDefinition property. Specify an array of string values to match this event if the actual value of taskDefinition 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.RequestParameters>- Returns:
- a new instance of
ClusterEvents.AWSAPICallViaCloudTrail.RequestParameters - Throws:
NullPointerException- if any required attribute was not provided
-