public class CreateLogStreamRequest 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 is to be created.
|
private java.lang.String |
logStreamName
The name of the log stream to create.
|
NOOP
Constructor and Description |
---|
CreateLogStreamRequest()
Default constructor for CreateLogStreamRequest object.
|
CreateLogStreamRequest(java.lang.String logGroupName,
java.lang.String logStreamName)
Constructs a new CreateLogStreamRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateLogStreamRequest |
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 is to be created.
|
java.lang.String |
getLogStreamName()
The name of the log stream to create.
|
int |
hashCode() |
void |
setLogGroupName(java.lang.String logGroupName)
The name of the log group under which the log stream is to be created.
|
void |
setLogStreamName(java.lang.String logStreamName)
The name of the log stream to create.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLogStreamRequest |
withLogGroupName(java.lang.String logGroupName)
The name of the log group under which the log stream is to be created.
|
CreateLogStreamRequest |
withLogStreamName(java.lang.String logStreamName)
The name of the log stream to create.
|
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 is to be created.
private java.lang.String logStreamName
The name of the log stream to create.
public CreateLogStreamRequest()
public CreateLogStreamRequest(java.lang.String logGroupName, java.lang.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(java.lang.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 java.lang.String getLogGroupName()
The name of the log group under which the log stream is to be created.
public CreateLogStreamRequest withLogGroupName(java.lang.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(java.lang.String logStreamName)
The name of the log stream to create.
logStreamName
- The name of the log stream to create.public java.lang.String getLogStreamName()
The name of the log stream to create.
public CreateLogStreamRequest withLogStreamName(java.lang.String logStreamName)
The name of the log stream to create.
logStreamName
- The name of the log stream to create.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 CreateLogStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()