Class Import
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatchlogs.model.Import
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Import.Builder,Import>
@Generated("software.amazon.awssdk:codegen") public final class Import extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Import.Builder,Import>
An import job to move data from CloudTrail Event Data Store to CloudWatch.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImport.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Import.Builderbuilder()LongcreationTime()The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()Error message related to any failed imports<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimportDestinationArn()The ARN of the managed CloudWatch Logs log group where the events are being imported to.ImportFilterimportFilter()The filter criteria used for this import task.StringimportId()The unique identifier of the import task.StringimportSourceArn()The ARN of the CloudTrail Lake Event Data Store being imported from.ImportStatisticsimportStatistics()Statistics about the import progressImportStatusimportStatus()The current status of the import task.StringimportStatusAsString()The current status of the import task.LonglastUpdatedTime()The timestamp when the import task was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Import.Builder>serializableBuilderClass()Import.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
-
importId
public final String importId()
The unique identifier of the import task.
- Returns:
- The unique identifier of the import task.
-
importSourceArn
public final String importSourceArn()
The ARN of the CloudTrail Lake Event Data Store being imported from.
- Returns:
- The ARN of the CloudTrail Lake Event Data Store being imported from.
-
importStatus
public final ImportStatus importStatus()
The current status of the import task. 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,
importStatuswill returnImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimportStatusAsString().- Returns:
- The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
- See Also:
ImportStatus
-
importStatusAsString
public final String importStatusAsString()
The current status of the import task. 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,
importStatuswill returnImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimportStatusAsString().- Returns:
- The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
- See Also:
ImportStatus
-
importDestinationArn
public final String importDestinationArn()
The ARN of the managed CloudWatch Logs log group where the events are being imported to.
- Returns:
- The ARN of the managed CloudWatch Logs log group where the events are being imported to.
-
importStatistics
public final ImportStatistics importStatistics()
Statistics about the import progress
- Returns:
- Statistics about the import progress
-
importFilter
public final ImportFilter importFilter()
The filter criteria used for this import task.
- Returns:
- The filter criteria used for this import task.
-
creationTime
public final Long creationTime()
The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
- Returns:
- The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
-
lastUpdatedTime
public final Long lastUpdatedTime()
The timestamp when the import task was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
- Returns:
- The timestamp when the import task was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
-
errorMessage
public final String errorMessage()
Error message related to any failed imports
- Returns:
- Error message related to any failed imports
-
toBuilder
public Import.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Import.Builder,Import>
-
builder
public static Import.Builder builder()
-
serializableBuilderClass
public static Class<? extends Import.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-