Class ExportTask
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatchlogs.model.ExportTask
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ExportTask.Builder,ExportTask>
@Generated("software.amazon.awssdk:codegen") public final class ExportTask extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportTask.Builder,ExportTask>
Represents an export task.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ExportTask.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportTask.Builder
builder()
String
destination()
The name of the S3 bucket to which the log data was exported.String
destinationPrefix()
The prefix that was used as the start of Amazon S3 key for every object exported.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
ExportTaskExecutionInfo
executionInfo()
Execution information about the export task.Long
from()
The start time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
logGroupName()
The name of the log group from which logs data was exported.List<SdkField<?>>
sdkFields()
static Class<? extends ExportTask.Builder>
serializableBuilderClass()
ExportTaskStatus
status()
The status of the export task.String
taskId()
The ID of the export task.String
taskName()
The name of the export task.Long
to()
The end time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.ExportTask.Builder
toBuilder()
String
toString()
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
-
taskId
public final String taskId()
The ID of the export task.
- Returns:
- The ID of the export task.
-
taskName
public final String taskName()
The name of the export task.
- Returns:
- The name of the export task.
-
logGroupName
public final String logGroupName()
The name of the log group from which logs data was exported.
- Returns:
- The name of the log group from which logs data was exported.
-
from
public final Long from()
The start time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
. Events with a timestamp before this time are not exported.- Returns:
- The start time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
. Events with a timestamp before this time are not exported.
-
to
public final Long to()
The end time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
. Events with a timestamp later than this time are not exported.- Returns:
- The end time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
. Events with a timestamp later than this time are not exported.
-
destination
public final String destination()
The name of the S3 bucket to which the log data was exported.
- Returns:
- The name of the S3 bucket to which the log data was exported.
-
destinationPrefix
public final String destinationPrefix()
The prefix that was used as the start of Amazon S3 key for every object exported.
- Returns:
- The prefix that was used as the start of Amazon S3 key for every object exported.
-
status
public final ExportTaskStatus status()
The status of the export task.
- Returns:
- The status of the export task.
-
executionInfo
public final ExportTaskExecutionInfo executionInfo()
Execution information about the export task.
- Returns:
- Execution information about the export task.
-
toBuilder
public ExportTask.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ExportTask.Builder,ExportTask>
-
builder
public static ExportTask.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportTask.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-