Class AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.athena.events.AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AthenaQueryStateChange.AthenaQueryStateChangeProps>
- Enclosing interface:
AthenaQueryStateChange.AthenaQueryStateChangeProps
@Stability(Experimental)
public static final class AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<AthenaQueryStateChange.AthenaQueryStateChangeProps>
A builder for
AthenaQueryStateChange.AthenaQueryStateChangeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.currentState(List<String> currentState) Sets the value ofAthenaQueryStateChange.AthenaQueryStateChangeProps.getCurrentState()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAthenaQueryStateChange.AthenaQueryStateChangeProps.getEventMetadata()previousState(List<String> previousState) Sets the value ofAthenaQueryStateChange.AthenaQueryStateChangeProps.getPreviousState()queryExecutionId(List<String> queryExecutionId) Sets the value ofAthenaQueryStateChange.AthenaQueryStateChangeProps.getQueryExecutionId()sequenceNumber(List<String> sequenceNumber) Sets the value ofAthenaQueryStateChange.AthenaQueryStateChangeProps.getSequenceNumber()statementType(List<String> statementType) Sets the value ofAthenaQueryStateChange.AthenaQueryStateChangeProps.getStatementType()Sets the value ofAthenaQueryStateChange.AthenaQueryStateChangeProps.getVersionId()workgroupName(List<String> workgroupName) Sets the value ofAthenaQueryStateChange.AthenaQueryStateChangeProps.getWorkgroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
currentState
@Stability(Experimental) public AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder currentState(List<String> currentState) Sets the value ofAthenaQueryStateChange.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 AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAthenaQueryStateChange.AthenaQueryStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
previousState
@Stability(Experimental) public AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder previousState(List<String> previousState) Sets the value ofAthenaQueryStateChange.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 AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder queryExecutionId(List<String> queryExecutionId) Sets the value ofAthenaQueryStateChange.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 AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder sequenceNumber(List<String> sequenceNumber) Sets the value ofAthenaQueryStateChange.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 AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder statementType(List<String> statementType) Sets the value ofAthenaQueryStateChange.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 AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder versionId(List<String> versionId) Sets the value ofAthenaQueryStateChange.AthenaQueryStateChangeProps.getVersionId()- 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 AthenaQueryStateChange.AthenaQueryStateChangeProps.Builder workgroupName(List<String> workgroupName) Sets the value ofAthenaQueryStateChange.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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AthenaQueryStateChange.AthenaQueryStateChangeProps>- Returns:
- a new instance of
AthenaQueryStateChange.AthenaQueryStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-