Class AWSAPICallViaCloudTrail.ResponseElements.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.autoscaling.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 TypeMethodDescriptionSets the value ofAWSAPICallViaCloudTrail.ResponseElements.getAlarms()build()Builds the configured instance.failedScheduledActions(List<? extends Object> failedScheduledActions) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFailedScheduledActions()failedScheduledUpdateGroupActions(List<? extends Object> failedScheduledUpdateGroupActions) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getPolicyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarms
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder alarms(List<? extends Object> alarms) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getAlarms()- Parameters:
alarms- alarms property. Specify an array of string values to match this event if the actual value of alarms is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
failedScheduledActions
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder failedScheduledActions(List<? extends Object> failedScheduledActions) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFailedScheduledActions()- Parameters:
failedScheduledActions- failedScheduledActions property. Specify an array of string values to match this event if the actual value of failedScheduledActions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
failedScheduledUpdateGroupActions
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder failedScheduledUpdateGroupActions(List<? extends Object> failedScheduledUpdateGroupActions) - Parameters:
failedScheduledUpdateGroupActions- failedScheduledUpdateGroupActions property. Specify an array of string values to match this event if the actual value of failedScheduledUpdateGroupActions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
policyArn
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder policyArn(List<String> policyArn) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getPolicyArn()- Parameters:
policyArn- policyARN property. Specify an array of string values to match this event if the actual value of policyARN 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
-