Class CalendarStateChange.CalendarStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ssm.events.CalendarStateChange.CalendarStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CalendarStateChange.CalendarStateChangeProps>
- Enclosing interface:
CalendarStateChange.CalendarStateChangeProps
@Stability(Experimental)
public static final class CalendarStateChange.CalendarStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CalendarStateChange.CalendarStateChangeProps>
A builder for
CalendarStateChange.CalendarStateChangeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCalendarStateChange.CalendarStateChangeProps.getAtTime()build()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCalendarStateChange.CalendarStateChangeProps.getEventMetadata()nextTransitionTime(List<String> nextTransitionTime) Sets the value ofCalendarStateChange.CalendarStateChangeProps.getNextTransitionTime()Sets the value ofCalendarStateChange.CalendarStateChangeProps.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
atTime
@Stability(Experimental) public CalendarStateChange.CalendarStateChangeProps.Builder atTime(List<String> atTime) Sets the value ofCalendarStateChange.CalendarStateChangeProps.getAtTime()- Parameters:
atTime- atTime property. Specify an array of string values to match this event if the actual value of atTime 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 CalendarStateChange.CalendarStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCalendarStateChange.CalendarStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
nextTransitionTime
@Stability(Experimental) public CalendarStateChange.CalendarStateChangeProps.Builder nextTransitionTime(List<String> nextTransitionTime) Sets the value ofCalendarStateChange.CalendarStateChangeProps.getNextTransitionTime()- Parameters:
nextTransitionTime- nextTransitionTime property. Specify an array of string values to match this event if the actual value of nextTransitionTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
state
@Stability(Experimental) public CalendarStateChange.CalendarStateChangeProps.Builder state(List<String> state) Sets the value ofCalendarStateChange.CalendarStateChangeProps.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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CalendarStateChange.CalendarStateChangeProps>- Returns:
- a new instance of
CalendarStateChange.CalendarStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-