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()
Returns the value of the LogGroupName property for this object.
|
int |
hashCode() |
void |
setLogGroupName(String logGroupName)
Sets the value of the LogGroupName property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteRetentionPolicyRequest |
withLogGroupName(String logGroupName)
Sets the value of the LogGroupName property for this object.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DeleteRetentionPolicyRequest()
public DeleteRetentionPolicyRequest(String logGroupName)
logGroupName - 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 new value for the LogGroupName property for this object.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 new value for the LogGroupName property for this object.public String toString()
toString in class ObjectObject.toString()public DeleteRetentionPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.