public class DeleteRetentionPolicyRequest extends AmazonWebServiceRequest implements Serializable
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 |
---|---|
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.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
Copyright © 2014. All rights reserved.