Class ImportBatch
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImportBatch.Builder,ImportBatch>
A collection of events being imported to CloudWatch
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringbatchId()The unique identifier of the import batch.static ImportBatch.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe error message if the batch failed to import.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ImportBatch.Builder>final ImportStatusstatus()The current status of the import batch.final StringThe current status of the import batch.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
batchId
The unique identifier of the import batch.
- Returns:
- The unique identifier of the import batch.
-
status
The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
- See Also:
-
statusAsString
The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
- See Also:
-
errorMessage
The error message if the batch failed to import. Only present when status is FAILED.
- Returns:
- The error message if the batch failed to import. Only present when status is FAILED.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportBatch.Builder,ImportBatch>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-