Interface Event.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Event.Builder,Event>
,SdkBuilder<Event.Builder,Event>
,SdkPojo
- Enclosing class:
- Event
public static interface Event.Builder extends SdkPojo, CopyableBuilder<Event.Builder,Event>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Event.Builder
date(Instant date)
Specifies the date and time of the event.Event.Builder
eventCategories(String... eventCategories)
Specifies the category for the event.Event.Builder
eventCategories(Collection<String> eventCategories)
Specifies the category for the event.Event.Builder
message(String message)
Provides the text of this event.Event.Builder
sourceArn(String sourceArn)
The Amazon Resource Name (ARN) for the event.Event.Builder
sourceIdentifier(String sourceIdentifier)
Provides the identifier for the source of the event.Event.Builder
sourceType(String sourceType)
Specifies the source type for this event.Event.Builder
sourceType(SourceType sourceType)
Specifies the source type for this 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sourceIdentifier
Event.Builder sourceIdentifier(String sourceIdentifier)
Provides the identifier for the source of the event.
- Parameters:
sourceIdentifier
- Provides the identifier for the source of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
Event.Builder sourceType(String sourceType)
Specifies the source type for this event.
- Parameters:
sourceType
- Specifies the source type for this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceType
,SourceType
-
sourceType
Event.Builder sourceType(SourceType sourceType)
Specifies the source type for this event.
- Parameters:
sourceType
- Specifies the source type for this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceType
,SourceType
-
message
Event.Builder message(String message)
Provides the text of this event.
- Parameters:
message
- Provides the text of this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategories
Event.Builder eventCategories(Collection<String> eventCategories)
Specifies the category for the event.
- Parameters:
eventCategories
- Specifies the category for the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategories
Event.Builder eventCategories(String... eventCategories)
Specifies the category for the event.
- Parameters:
eventCategories
- Specifies the category for the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
date
Event.Builder date(Instant date)
Specifies the date and time of the event.
- Parameters:
date
- Specifies the date and time of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceArn
Event.Builder sourceArn(String sourceArn)
The Amazon Resource Name (ARN) for the event.
- Parameters:
sourceArn
- The Amazon Resource Name (ARN) for the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-