Interface JobLog.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobLog.Builder,
,JobLog> SdkBuilder<JobLog.Builder,
,JobLog> SdkPojo
- Enclosing class:
JobLog
-
Method Summary
Modifier and TypeMethodDescriptionThe event represents the type of a log.event
(JobLogEvent event) The event represents the type of a log.default JobLog.Builder
eventData
(Consumer<JobLogEventData.Builder> eventData) Metadata associated with a Job log.eventData
(JobLogEventData eventData) Metadata associated with a Job log.logDateTime
(String logDateTime) The date and time the log was taken.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 Details
-
event
The event represents the type of a log.
- Parameters:
event
- The event represents the type of a log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
event
The event represents the type of a log.
- Parameters:
event
- The event represents the type of a log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventData
Metadata associated with a Job log.
- Parameters:
eventData
- Metadata associated with a Job log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventData
Metadata associated with a Job log.
This is a convenience method that creates an instance of theJobLogEventData.Builder
avoiding the need to create one manually viaJobLogEventData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventData(JobLogEventData)
.- Parameters:
eventData
- a consumer that will call methods onJobLogEventData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logDateTime
The date and time the log was taken.
- Parameters:
logDateTime
- The date and time the log was taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-