@Generated(value="software.amazon.awssdk:codegen") public final class CreateExportTaskRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<CreateExportTaskRequest.Builder,CreateExportTaskRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateExportTaskRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateExportTaskRequest.Builder |
builder() |
String |
destination()
The name of S3 bucket for the exported log data.
|
String |
destinationPrefix()
The prefix used as the start of the key for every object exported.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
from()
The start time of the range for the request, expressed as the number of milliseconds after
Jan 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.
|
String |
logStreamNamePrefix()
Export only log streams that match the provided prefix.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateExportTaskRequest.Builder> |
serializableBuilderClass() |
String |
taskName()
The name of the export task.
|
Long |
to()
The end time of the range for the request, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC . |
CreateExportTaskRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String taskName()
The name of the export task.
public final String logGroupName()
The name of the log group.
public final String logStreamNamePrefix()
Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.
public final Long from()
The start time of the range for the request, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
. Events with a timestamp earlier than this time are not exported.
Jan 1, 1970 00:00:00 UTC
. Events with a timestamp earlier than this time are not exported.public final Long to()
The end time of the range for the request, 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.
You must specify a time that is not earlier than when this log group was created.
Jan 1, 1970 00:00:00 UTC
. Events with a timestamp later than this time are not exported.
You must specify a time that is not earlier than when this log group was created.
public final String destination()
The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region.
public final String destinationPrefix()
The prefix used as the start of the key for every object exported. If you don't specify a value, the default is
exportedlogs
.
exportedlogs
.public CreateExportTaskRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateExportTaskRequest.Builder,CreateExportTaskRequest>
toBuilder
in class CloudWatchLogsRequest
public static CreateExportTaskRequest.Builder builder()
public static Class<? extends CreateExportTaskRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.