Class JobLog
- java.lang.Object
-
- software.amazon.awssdk.services.drs.model.JobLog
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobLog.Builder,JobLog>
@Generated("software.amazon.awssdk:codegen") public final class JobLog extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobLog.Builder,JobLog>
A log outputted by a Job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobLog.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobLog.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)JobLogEventevent()The event represents the type of a log.StringeventAsString()The event represents the type of a log.JobLogEventDataeventData()Metadata associated with a Job log.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogDateTime()The date and time the log was taken.List<SdkField<?>>sdkFields()static Class<? extends JobLog.Builder>serializableBuilderClass()JobLog.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
event
public final JobLogEvent event()
The event represents the type of a log.
If the service returns an enum value that is not available in the current SDK version,
eventwill returnJobLogEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventAsString().- Returns:
- The event represents the type of a log.
- See Also:
JobLogEvent
-
eventAsString
public final String eventAsString()
The event represents the type of a log.
If the service returns an enum value that is not available in the current SDK version,
eventwill returnJobLogEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventAsString().- Returns:
- The event represents the type of a log.
- See Also:
JobLogEvent
-
eventData
public final JobLogEventData eventData()
Metadata associated with a Job log.
- Returns:
- Metadata associated with a Job log.
-
logDateTime
public final String logDateTime()
The date and time the log was taken.
- Returns:
- The date and time the log was taken.
-
toBuilder
public JobLog.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobLog.Builder,JobLog>
-
builder
public static JobLog.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobLog.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-