Class EBSMultiVolumeSnapshotsCompletionStatus.Snapshot.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.EBSMultiVolumeSnapshotsCompletionStatus.Snapshot.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EBSMultiVolumeSnapshotsCompletionStatus.Snapshot>
- Enclosing interface:
EBSMultiVolumeSnapshotsCompletionStatus.Snapshot
@Stability(Experimental)
public static final class EBSMultiVolumeSnapshotsCompletionStatus.Snapshot.Builder
extends Object
implements software.amazon.jsii.Builder<EBSMultiVolumeSnapshotsCompletionStatus.Snapshot>
A builder for
EBSMultiVolumeSnapshotsCompletionStatus.Snapshot-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.snapshotId(List<String> snapshotId) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.Snapshot.getSnapshotId()Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.Snapshot.getSource()Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.Snapshot.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
snapshotId
@Stability(Experimental) public EBSMultiVolumeSnapshotsCompletionStatus.Snapshot.Builder snapshotId(List<String> snapshotId) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.Snapshot.getSnapshotId()- Parameters:
snapshotId- snapshot_id property. Specify an array of string values to match this event if the actual value of snapshot_id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
source
@Stability(Experimental) public EBSMultiVolumeSnapshotsCompletionStatus.Snapshot.Builder source(List<String> source) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.Snapshot.getSource()- Parameters:
source- source property. Specify an array of string values to match this event if the actual value of source is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
status
@Stability(Experimental) public EBSMultiVolumeSnapshotsCompletionStatus.Snapshot.Builder status(List<String> status) Sets the value ofEBSMultiVolumeSnapshotsCompletionStatus.Snapshot.getStatus()- Parameters:
status- status property. Specify an array of string values to match this event if the actual value of status 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<EBSMultiVolumeSnapshotsCompletionStatus.Snapshot>- Returns:
- a new instance of
EBSMultiVolumeSnapshotsCompletionStatus.Snapshot - Throws:
NullPointerException- if any required attribute was not provided
-