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 interfaceExportTask.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportTask.Builderbuilder()Stringdestination()The name of the S3 bucket to which the log data was exported.StringdestinationPrefix()The prefix that was used as the start of Amazon S3 key for every object exported.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExportTaskExecutionInfoexecutionInfo()Execution information about the export task.Longfrom()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)inthashCode()StringlogGroupName()The name of the log group from which logs data was exported.List<SdkField<?>>sdkFields()static Class<? extends ExportTask.Builder>serializableBuilderClass()ExportTaskStatusstatus()The status of the export task.StringtaskId()The ID of the export task.StringtaskName()The name of the export task.Longto()The end time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC.ExportTask.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
-
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:
toBuilderin 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:
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.
-
-