public class DeleteLogStreamRequest extends AmazonWebServiceRequest implements Serializable
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 |
|---|---|
boolean |
equals(Object obj) |
String |
getLogGroupName()
Returns the value of the LogGroupName property for this object.
|
String |
getLogStreamName()
Returns the value of the LogStreamName property for this object.
|
int |
hashCode() |
void |
setLogGroupName(String logGroupName)
Sets the value of the LogGroupName property for this object.
|
void |
setLogStreamName(String logStreamName)
Sets the value of the LogStreamName property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLogStreamRequest |
withLogGroupName(String logGroupName)
Sets the value of the LogGroupName property for this object.
|
DeleteLogStreamRequest |
withLogStreamName(String logStreamName)
Sets the value of the LogStreamName property for this object.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DeleteLogStreamRequest()
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 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 new value for the LogGroupName property for this object.public String getLogStreamName()
Constraints:
Length: 1 - 512
Pattern: [^:*]*
public void setLogStreamName(String logStreamName)
Constraints:
Length: 1 - 512
Pattern: [^:*]*
logStreamName - The new value for the LogStreamName property for this object.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 new value for the LogStreamName property for this object.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.