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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 ObjectObject.toString()public CreateLogStreamRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.