Class WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.athena.events.WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps>
- Enclosing interface:
WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps
@Stability(Experimental)
public static final class WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.currentState(List<String> currentState) eventMetadata(AWSEventMetadataProps eventMetadata) previousState(List<String> previousState) queryExecutionId(List<String> queryExecutionId) sequenceNumber(List<String> sequenceNumber) statementType(List<String> statementType) workgroupName(List<String> workgroupName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
currentState
@Stability(Experimental) public WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder currentState(List<String> currentState) Sets the value ofWorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.getCurrentState()- Parameters:
currentState- currentState property. Specify an array of string values to match this event if the actual value of currentState is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofWorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
previousState
@Stability(Experimental) public WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder previousState(List<String> previousState) Sets the value ofWorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.getPreviousState()- Parameters:
previousState- previousState property. Specify an array of string values to match this event if the actual value of previousState is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
queryExecutionId
@Stability(Experimental) public WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder queryExecutionId(List<String> queryExecutionId) Sets the value ofWorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.getQueryExecutionId()- Parameters:
queryExecutionId- queryExecutionId property. Specify an array of string values to match this event if the actual value of queryExecutionId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sequenceNumber
@Stability(Experimental) public WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder sequenceNumber(List<String> sequenceNumber) Sets the value ofWorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.getSequenceNumber()- Parameters:
sequenceNumber- sequenceNumber property. Specify an array of string values to match this event if the actual value of sequenceNumber is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
statementType
@Stability(Experimental) public WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder statementType(List<String> statementType) Sets the value ofWorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.getStatementType()- Parameters:
statementType- statementType property. Specify an array of string values to match this event if the actual value of statementType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
versionId
@Stability(Experimental) public WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder versionId(List<String> versionId) - Parameters:
versionId- versionId property. Specify an array of string values to match this event if the actual value of versionId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
workgroupName
@Stability(Experimental) public WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder workgroupName(List<String> workgroupName) Sets the value ofWorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps.getWorkgroupName()- Parameters:
workgroupName- workgroupName property. Specify an array of string values to match this event if the actual value of workgroupName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps>- Returns:
- a new instance of
WorkGroupEvents.AthenaQueryStateChange.AthenaQueryStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-