Class AWSAPICallViaCloudTrail.RequestParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.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.Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getCluster()containerInstance(List<String> containerInstance) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getContainerInstance()containers(List<? extends AWSAPICallViaCloudTrail.RequestParametersItem1> containers) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getContainers()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getCount()enableEcsManagedTags(List<String> enableEcsManagedTags) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getEnableEcsManagedTags()executionStoppedAt(List<String> executionStoppedAt) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getExecutionStoppedAt()launchType(List<String> launchType) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getLaunchType()networkConfiguration(AWSAPICallViaCloudTrail.NetworkConfiguration networkConfiguration) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getNetworkConfiguration()overrides(AWSAPICallViaCloudTrail.Overrides overrides) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getOverrides()placementConstraints(List<? extends AWSAPICallViaCloudTrail.RequestParametersItem> placementConstraints) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPlacementConstraints()pullStartedAt(List<String> pullStartedAt) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPullStartedAt()pullStoppedAt(List<String> pullStoppedAt) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPullStoppedAt()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getReason()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getStartedBy()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getStatus()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getTask()taskDefinition(List<String> taskDefinition) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getTaskDefinition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cluster
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder cluster(List<String> cluster) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder containerInstance(List<String> containerInstance) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getContainerInstance()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder containers(List<? extends AWSAPICallViaCloudTrail.RequestParametersItem1> containers) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder count(List<String> count) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder enableEcsManagedTags(List<String> enableEcsManagedTags) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getEnableEcsManagedTags()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder executionStoppedAt(List<String> executionStoppedAt) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getExecutionStoppedAt()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder launchType(List<String> launchType) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder networkConfiguration(AWSAPICallViaCloudTrail.NetworkConfiguration networkConfiguration) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getNetworkConfiguration()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder overrides(AWSAPICallViaCloudTrail.Overrides overrides) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder placementConstraints(List<? extends AWSAPICallViaCloudTrail.RequestParametersItem> placementConstraints) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPlacementConstraints()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder pullStartedAt(List<String> pullStartedAt) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPullStartedAt()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder pullStoppedAt(List<String> pullStoppedAt) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPullStoppedAt()- 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 AWSAPICallViaCloudTrail.RequestParameters.Builder reason(List<String> reason) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder startedBy(List<String> startedBy) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder status(List<String> status) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder task(List<String> task) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.RequestParameters.Builder taskDefinition(List<String> taskDefinition) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getTaskDefinition()- 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<AWSAPICallViaCloudTrail.RequestParameters>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.RequestParameters - Throws:
NullPointerException- if any required attribute was not provided
-