public class DeleteRetentionPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteRetentionPolicy operation.
Deletes the retention policy of the specified log group. Log events would not expire if they belong to log groups without a retention policy.
NOOP| Constructor and Description |
|---|
DeleteRetentionPolicyRequest()
Default constructor for a new DeleteRetentionPolicyRequest object.
|
DeleteRetentionPolicyRequest(String logGroupName)
Constructs a new DeleteRetentionPolicyRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteRetentionPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLogGroupName()
The name of the log group that is associated with the retention policy
to delete.
|
int |
hashCode() |
void |
setLogGroupName(String logGroupName)
The name of the log group that is associated with the retention policy
to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteRetentionPolicyRequest |
withLogGroupName(String logGroupName)
The name of the log group that is associated with the retention policy
to delete.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DeleteRetentionPolicyRequest()
public DeleteRetentionPolicyRequest(String logGroupName)
logGroupName - The name of the log group that is associated with
the retention policy to delete.public String getLogGroupName()
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
public void setLogGroupName(String logGroupName)
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName - The name of the log group that is associated with the retention policy
to delete.public DeleteRetentionPolicyRequest withLogGroupName(String logGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName - The name of the log group that is associated with the retention policy
to delete.public String toString()
toString in class ObjectObject.toString()public DeleteRetentionPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.