public class DeleteLogStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
logGroupName
The name of the log group under which the log stream to delete belongs.
|
private java.lang.String |
logStreamName
The name of the log stream to delete.
|
NOOP
Constructor and Description |
---|
DeleteLogStreamRequest()
Default constructor for DeleteLogStreamRequest object.
|
DeleteLogStreamRequest(java.lang.String logGroupName,
java.lang.String logStreamName)
Constructs a new DeleteLogStreamRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteLogStreamRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLogGroupName()
The name of the log group under which the log stream to delete belongs.
|
java.lang.String |
getLogStreamName()
The name of the log stream to delete.
|
int |
hashCode() |
void |
setLogGroupName(java.lang.String logGroupName)
The name of the log group under which the log stream to delete belongs.
|
void |
setLogStreamName(java.lang.String logStreamName)
The name of the log stream to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLogStreamRequest |
withLogGroupName(java.lang.String logGroupName)
The name of the log group under which the log stream to delete belongs.
|
DeleteLogStreamRequest |
withLogStreamName(java.lang.String logStreamName)
The name of the log stream to delete.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String logGroupName
The name of the log group under which the log stream to delete belongs.
private java.lang.String logStreamName
The name of the log stream to delete.
public DeleteLogStreamRequest()
public DeleteLogStreamRequest(java.lang.String logGroupName, java.lang.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 void setLogGroupName(java.lang.String logGroupName)
The name of the log group under which the log stream to delete belongs.
logGroupName
- The name of the log group under which the log stream to delete
belongs.public java.lang.String getLogGroupName()
The name of the log group under which the log stream to delete belongs.
public DeleteLogStreamRequest withLogGroupName(java.lang.String logGroupName)
The name of the log group under which the log stream to delete belongs.
logGroupName
- The name of the log group under which the log stream to delete
belongs.public void setLogStreamName(java.lang.String logStreamName)
The name of the log stream to delete.
logStreamName
- The name of the log stream to delete.public java.lang.String getLogStreamName()
The name of the log stream to delete.
public DeleteLogStreamRequest withLogStreamName(java.lang.String logStreamName)
The name of the log stream to delete.
logStreamName
- The name of the log stream to delete.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteLogStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()