public class DeleteLogStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteLogStream operation
.
Deletes a log stream and permanently deletes all the archived log events associated with it.
NOOP
Constructor and Description |
---|
DeleteLogStreamRequest()
Default constructor for a new DeleteLogStreamRequest object.
|
DeleteLogStreamRequest(String logGroupName,
String logStreamName)
Constructs a new DeleteLogStreamRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteLogStreamRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getLogGroupName()
The name of the log group under which the log stream to delete
belongs.
|
String |
getLogStreamName()
The name of the log stream to delete.
|
int |
hashCode() |
void |
setLogGroupName(String logGroupName)
The name of the log group under which the log stream to delete
belongs.
|
void |
setLogStreamName(String logStreamName)
The name of the log stream to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLogStreamRequest |
withLogGroupName(String logGroupName)
The name of the log group under which the log stream to delete
belongs.
|
DeleteLogStreamRequest |
withLogStreamName(String logStreamName)
The name of the log stream to delete.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteLogStreamRequest()
public DeleteLogStreamRequest(String logGroupName, String logStreamName)
logGroupName
- The name of the log group under which the log
stream to delete belongs.logStreamName
- The name of the log stream 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 under which the log stream to delete
belongs.public DeleteLogStreamRequest 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 under which the log stream to delete
belongs.public String getLogStreamName()
Constraints:
Length: 1 - 512
Pattern: [^:*]*
public void setLogStreamName(String logStreamName)
Constraints:
Length: 1 - 512
Pattern: [^:*]*
logStreamName
- The name of the log stream to delete.public DeleteLogStreamRequest withLogStreamName(String logStreamName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [^:*]*
logStreamName
- The name of the log stream to delete.public String toString()
toString
in class Object
Object.toString()
public DeleteLogStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.