Interface EventInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EventInfo.Builder,EventInfo>,SdkBuilder<EventInfo.Builder,EventInfo>,SdkPojo
- Enclosing class:
- EventInfo
public static interface EventInfo.Builder extends SdkPojo, CopyableBuilder<EventInfo.Builder,EventInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventInfo.Buildername(String name)The name of the event.EventInfo.Builderstate(String state)The state of an event.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
EventInfo.Builder name(String name)
The name of the event. The possible names are
pull_request,workflow_dispatch,schedule, andpush- Parameters:
name- The name of the event. The possible names arepull_request,workflow_dispatch,schedule, andpush- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
EventInfo.Builder state(String state)
The state of an event. The state might be open, closed, or another state.
- Parameters:
state- The state of an event. The state might be open, closed, or another state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-