@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) |
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)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
logGroupName()
The name of the log group.
|
String |
logStreamNamePrefix()
Export only log streams that match the provided prefix.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String taskName()
The name of the export task.
public String logGroupName()
The name of the log group.
public String logStreamNamePrefix()
Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.
public 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 time stamp earlier than this time are not exported.
public 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 time stamp later than this time are not exported.
public String destination()
The name of S3 bucket for the exported log data. The bucket must be in the same AWS region.
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateExportTaskRequest.Builder,CreateExportTaskRequest>
toBuilder
in class CloudWatchLogsRequest
public static CreateExportTaskRequest.Builder builder()
public static Class<? extends CreateExportTaskRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.