Class DataSyncLocationStateChange.DataSyncLocationStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.datasync.events.DataSyncLocationStateChange.DataSyncLocationStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataSyncLocationStateChange.DataSyncLocationStateChangeProps>
- Enclosing interface:
DataSyncLocationStateChange.DataSyncLocationStateChangeProps
@Stability(Experimental)
public static final class DataSyncLocationStateChange.DataSyncLocationStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<DataSyncLocationStateChange.DataSyncLocationStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofDataSyncLocationStateChange.DataSyncLocationStateChangeProps.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public DataSyncLocationStateChange.DataSyncLocationStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
state
@Stability(Experimental) public DataSyncLocationStateChange.DataSyncLocationStateChangeProps.Builder state(List<String> state) Sets the value ofDataSyncLocationStateChange.DataSyncLocationStateChangeProps.getState()- Parameters:
state- State property. Specify an array of string values to match this event if the actual value of State 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 DataSyncLocationStateChange.DataSyncLocationStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataSyncLocationStateChange.DataSyncLocationStateChangeProps>- Returns:
- a new instance of
DataSyncLocationStateChange.DataSyncLocationStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-