Class EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps>
- Enclosing interface:
EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps
@Stability(Experimental)
public static final class EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder
extends Object
implements software.amazon.jsii.Builder<EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) snapshots(List<? extends EBSMultiVolumeSnapshotsCompletionStatus.Snapshot> snapshots)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cause
@Stability(Experimental) public EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder cause(List<String> cause) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.getCause()- Parameters:
cause- cause property. Specify an array of string values to match this event if the actual value of cause is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
endTime
@Stability(Experimental) public EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder endTime(List<String> endTime) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.getEndTime()- Parameters:
endTime- endTime property. Specify an array of string values to match this event if the actual value of endTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
event
@Stability(Experimental) public EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder event(List<String> event) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.getEvent()- Parameters:
event- event property. Specify an array of string values to match this event if the actual value of event 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 EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
requestId
@Stability(Experimental) public EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder requestId(List<String> requestId) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.getRequestId()- Parameters:
requestId- request-id property. Specify an array of string values to match this event if the actual value of request-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
result
@Stability(Experimental) public EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder result(List<String> result) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.getResult()- Parameters:
result- result property. Specify an array of string values to match this event if the actual value of result is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
snapshots
@Stability(Experimental) public EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder snapshots(List<? extends EBSMultiVolumeSnapshotsCompletionStatus.Snapshot> snapshots) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.getSnapshots()- Parameters:
snapshots- snapshots property. Specify an array of string values to match this event if the actual value of snapshots is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startTime
@Stability(Experimental) public EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.Builder startTime(List<String> startTime) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps.getStartTime()- Parameters:
startTime- startTime property. Specify an array of string values to match this event if the actual value of startTime 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 EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps>- Returns:
- a new instance of
EBSMultiVolumeSnapshotsCompletionStatus.EBSMultiVolumeSnapshotsCompletionStatusProps - Throws:
NullPointerException- if any required attribute was not provided
-