public class DeleteLogGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteLogGroup operation
.
Deletes the log group with the specified name and permanently deletes all the archived log events associated with it.
NOOP
Constructor and Description |
---|
DeleteLogGroupRequest()
Default constructor for a new DeleteLogGroupRequest object.
|
DeleteLogGroupRequest(String logGroupName)
Constructs a new DeleteLogGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteLogGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getLogGroupName()
The name of the log group to delete.
|
int |
hashCode() |
void |
setLogGroupName(String logGroupName)
The name of the log group to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLogGroupRequest |
withLogGroupName(String logGroupName)
The name of the log group to delete.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteLogGroupRequest()
public DeleteLogGroupRequest(String logGroupName)
logGroupName
- The name of the log group 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 to delete.public DeleteLogGroupRequest 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 to delete.public String toString()
toString
in class Object
Object.toString()
public DeleteLogGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.