@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateExportTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateExportTaskRequest() |
Modifier and Type | Method and Description |
---|---|
CreateExportTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDestination()
The name of S3 bucket for the exported log data.
|
String |
getDestinationPrefix()
The prefix used as the start of the key for every object exported.
|
Long |
getFrom()
The start time of the range for the request, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC . |
String |
getLogGroupName()
The name of the log group.
|
String |
getLogStreamNamePrefix()
Export only log streams that match the provided prefix.
|
String |
getTaskName()
The name of the export task.
|
Long |
getTo()
The end time of the range for the request, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC . |
int |
hashCode() |
void |
setDestination(String destination)
The name of S3 bucket for the exported log data.
|
void |
setDestinationPrefix(String destinationPrefix)
The prefix used as the start of the key for every object exported.
|
void |
setFrom(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 . |
void |
setLogGroupName(String logGroupName)
The name of the log group.
|
void |
setLogStreamNamePrefix(String logStreamNamePrefix)
Export only log streams that match the provided prefix.
|
void |
setTaskName(String taskName)
The name of the export task.
|
void |
setTo(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 . |
String |
toString()
Returns a string representation of this object.
|
CreateExportTaskRequest |
withDestination(String destination)
The name of S3 bucket for the exported log data.
|
CreateExportTaskRequest |
withDestinationPrefix(String destinationPrefix)
The prefix used as the start of the key for every object exported.
|
CreateExportTaskRequest |
withFrom(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 . |
CreateExportTaskRequest |
withLogGroupName(String logGroupName)
The name of the log group.
|
CreateExportTaskRequest |
withLogStreamNamePrefix(String logStreamNamePrefix)
Export only log streams that match the provided prefix.
|
CreateExportTaskRequest |
withTaskName(String taskName)
The name of the export task.
|
CreateExportTaskRequest |
withTo(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 . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTaskName(String taskName)
The name of the export task.
taskName
- The name of the export task.public String getTaskName()
The name of the export task.
public CreateExportTaskRequest withTaskName(String taskName)
The name of the export task.
taskName
- The name of the export task.public void setLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public String getLogGroupName()
The name of the log group.
public CreateExportTaskRequest withLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public void setLogStreamNamePrefix(String logStreamNamePrefix)
Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.
logStreamNamePrefix
- Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is
applied.public String getLogStreamNamePrefix()
Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.
public CreateExportTaskRequest withLogStreamNamePrefix(String logStreamNamePrefix)
Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.
logStreamNamePrefix
- Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is
applied.public void setFrom(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.
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.public Long getFrom()
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 CreateExportTaskRequest withFrom(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.
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.public void setTo(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.
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.
public Long getTo()
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 CreateExportTaskRequest withTo(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.
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.
public void setDestination(String destination)
The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region.
destination
- The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services
Region.public String getDestination()
The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region.
public CreateExportTaskRequest withDestination(String destination)
The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region.
destination
- The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services
Region.public void setDestinationPrefix(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
.
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
.public String getDestinationPrefix()
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 withDestinationPrefix(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
.
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
.public String toString()
toString
in class Object
Object.toString()
public CreateExportTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()