| Package | Description |
|---|---|
| com.amazonaws.services.logs |
Synchronous and asynchronous client classes for accessing AWSLogs.
|
| com.amazonaws.services.logs.model |
Classes modeling the various types represented by AWSLogs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AWSLogs.putRetentionPolicy(PutRetentionPolicyRequest putRetentionPolicyRequest)
Sets the retention of the specified log group.
|
void |
AWSLogsClient.putRetentionPolicy(PutRetentionPolicyRequest putRetentionPolicyRequest)
Sets the retention of the specified log group.
|
Future<Void> |
AWSLogsAsync.putRetentionPolicyAsync(PutRetentionPolicyRequest putRetentionPolicyRequest)
Sets the retention of the specified log group.
|
Future<Void> |
AWSLogsAsyncClient.putRetentionPolicyAsync(PutRetentionPolicyRequest putRetentionPolicyRequest)
Sets the retention of the specified log group.
|
Future<Void> |
AWSLogsAsync.putRetentionPolicyAsync(PutRetentionPolicyRequest putRetentionPolicyRequest,
AsyncHandler<PutRetentionPolicyRequest,Void> asyncHandler)
Sets the retention of the specified log group.
|
Future<Void> |
AWSLogsAsyncClient.putRetentionPolicyAsync(PutRetentionPolicyRequest putRetentionPolicyRequest,
AsyncHandler<PutRetentionPolicyRequest,Void> asyncHandler)
Sets the retention of the specified log group.
|
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
AWSLogsAsync.putRetentionPolicyAsync(PutRetentionPolicyRequest putRetentionPolicyRequest,
AsyncHandler<PutRetentionPolicyRequest,Void> asyncHandler)
Sets the retention of the specified log group.
|
Future<Void> |
AWSLogsAsyncClient.putRetentionPolicyAsync(PutRetentionPolicyRequest putRetentionPolicyRequest,
AsyncHandler<PutRetentionPolicyRequest,Void> asyncHandler)
Sets the retention of the specified log group.
|
| Modifier and Type | Method and Description |
|---|---|
PutRetentionPolicyRequest |
PutRetentionPolicyRequest.clone() |
PutRetentionPolicyRequest |
PutRetentionPolicyRequest.withLogGroupName(String logGroupName)
The name of the log group to associate the retention policy with.
|
PutRetentionPolicyRequest |
PutRetentionPolicyRequest.withRetentionInDays(Integer retentionInDays)
Specifies the number of days you want to retain log events in the
specified log group.
|
Copyright © 2015. All rights reserved.