Class ImageSetCreated.ImageSetCreatedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.healthimaging.events.ImageSetCreated.ImageSetCreatedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ImageSetCreated.ImageSetCreatedProps>
- Enclosing interface:
ImageSetCreated.ImageSetCreatedProps
@Stability(Experimental)
public static final class ImageSetCreated.ImageSetCreatedProps.Builder
extends Object
implements software.amazon.jsii.Builder<ImageSetCreated.ImageSetCreatedProps>
A builder for
ImageSetCreated.ImageSetCreatedProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datastoreId(List<String> datastoreId) Sets the value ofImageSetCreated.ImageSetCreatedProps.getDatastoreId()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofImageSetCreated.ImageSetCreatedProps.getEventMetadata()imageSetId(List<String> imageSetId) Sets the value ofImageSetCreated.ImageSetCreatedProps.getImageSetId()imageSetState(List<String> imageSetState) Sets the value ofImageSetCreated.ImageSetCreatedProps.getImageSetState()imageSetWorkflowStatus(List<String> imageSetWorkflowStatus) Sets the value ofImageSetCreated.ImageSetCreatedProps.getImageSetWorkflowStatus()imagingVersion(List<String> imagingVersion) Sets the value ofImageSetCreated.ImageSetCreatedProps.getImagingVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datastoreId
@Stability(Experimental) public ImageSetCreated.ImageSetCreatedProps.Builder datastoreId(List<String> datastoreId) Sets the value ofImageSetCreated.ImageSetCreatedProps.getDatastoreId()- Parameters:
datastoreId- datastoreId property. Specify an array of string values to match this event if the actual value of datastoreId 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 ImageSetCreated.ImageSetCreatedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofImageSetCreated.ImageSetCreatedProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
imageSetId
@Stability(Experimental) public ImageSetCreated.ImageSetCreatedProps.Builder imageSetId(List<String> imageSetId) Sets the value ofImageSetCreated.ImageSetCreatedProps.getImageSetId()- Parameters:
imageSetId- imageSetId property. Specify an array of string values to match this event if the actual value of imageSetId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
imageSetState
@Stability(Experimental) public ImageSetCreated.ImageSetCreatedProps.Builder imageSetState(List<String> imageSetState) Sets the value ofImageSetCreated.ImageSetCreatedProps.getImageSetState()- Parameters:
imageSetState- imageSetState property. Specify an array of string values to match this event if the actual value of imageSetState is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
imageSetWorkflowStatus
@Stability(Experimental) public ImageSetCreated.ImageSetCreatedProps.Builder imageSetWorkflowStatus(List<String> imageSetWorkflowStatus) Sets the value ofImageSetCreated.ImageSetCreatedProps.getImageSetWorkflowStatus()- Parameters:
imageSetWorkflowStatus- imageSetWorkflowStatus property. Specify an array of string values to match this event if the actual value of imageSetWorkflowStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
imagingVersion
@Stability(Experimental) public ImageSetCreated.ImageSetCreatedProps.Builder imagingVersion(List<String> imagingVersion) Sets the value ofImageSetCreated.ImageSetCreatedProps.getImagingVersion()- Parameters:
imagingVersion- imagingVersion property. Specify an array of string values to match this event if the actual value of imagingVersion 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<ImageSetCreated.ImageSetCreatedProps>- Returns:
- a new instance of
ImageSetCreated.ImageSetCreatedProps - Throws:
NullPointerException- if any required attribute was not provided
-