public class CreateLogStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLogStreamRequest()
Default constructor for CreateLogStreamRequest object.
|
CreateLogStreamRequest(String logGroupName,
String logStreamName)
Constructs a new CreateLogStreamRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateLogStreamRequest |
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 is to be created.
|
String |
getLogStreamName()
The name of the log stream to create.
|
int |
hashCode() |
void |
setLogGroupName(String logGroupName)
The name of the log group under which the log stream is to be created.
|
void |
setLogStreamName(String logStreamName)
The name of the log stream to create.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLogStreamRequest |
withLogGroupName(String logGroupName)
The name of the log group under which the log stream is to be created.
|
CreateLogStreamRequest |
withLogStreamName(String logStreamName)
The name of the log stream to create.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateLogStreamRequest()
public CreateLogStreamRequest(String logGroupName, String logStreamName)
logGroupName
- The name of the log group under which the log stream is to be
created.logStreamName
- The name of the log stream to create.public void setLogGroupName(String logGroupName)
The name of the log group under which the log stream is to be created.
logGroupName
- The name of the log group under which the log stream is to be
created.public String getLogGroupName()
The name of the log group under which the log stream is to be created.
public CreateLogStreamRequest withLogGroupName(String logGroupName)
The name of the log group under which the log stream is to be created.
logGroupName
- The name of the log group under which the log stream is to be
created.public void setLogStreamName(String logStreamName)
The name of the log stream to create.
logStreamName
- The name of the log stream to create.public String getLogStreamName()
The name of the log stream to create.
public CreateLogStreamRequest withLogStreamName(String logStreamName)
The name of the log stream to create.
logStreamName
- The name of the log stream to create.public String toString()
toString
in class Object
Object.toString()
public CreateLogStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.