@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutLogEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutLogEventsRequest()
Default constructor for PutLogEventsRequest object.
|
PutLogEventsRequest(String logGroupName,
String logStreamName,
List<InputLogEvent> logEvents)
Constructs a new PutLogEventsRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
PutLogEventsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<InputLogEvent> |
getLogEvents()
The log events.
|
String |
getLogGroupName()
The name of the log group.
|
String |
getLogStreamName()
The name of the log stream.
|
String |
getSequenceToken()
The sequence token obtained from the response of the previous
PutLogEvents call. |
int |
hashCode() |
void |
setLogEvents(Collection<InputLogEvent> logEvents)
The log events.
|
void |
setLogGroupName(String logGroupName)
The name of the log group.
|
void |
setLogStreamName(String logStreamName)
The name of the log stream.
|
void |
setSequenceToken(String sequenceToken)
The sequence token obtained from the response of the previous
PutLogEvents call. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutLogEventsRequest |
withLogEvents(Collection<InputLogEvent> logEvents)
The log events.
|
PutLogEventsRequest |
withLogEvents(InputLogEvent... logEvents)
The log events.
|
PutLogEventsRequest |
withLogGroupName(String logGroupName)
The name of the log group.
|
PutLogEventsRequest |
withLogStreamName(String logStreamName)
The name of the log stream.
|
PutLogEventsRequest |
withSequenceToken(String sequenceToken)
The sequence token obtained from the response of the previous
PutLogEvents call. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic PutLogEventsRequest()
public PutLogEventsRequest(String logGroupName, String logStreamName, List<InputLogEvent> logEvents)
logGroupName - The name of the log group.logStreamName - The name of the log stream.logEvents - The log events.public void setLogGroupName(String logGroupName)
The name of the log group.
logGroupName - The name of the log group.public String getLogGroupName()
The name of the log group.
public PutLogEventsRequest withLogGroupName(String logGroupName)
The name of the log group.
logGroupName - The name of the log group.public void setLogStreamName(String logStreamName)
The name of the log stream.
logStreamName - The name of the log stream.public String getLogStreamName()
The name of the log stream.
public PutLogEventsRequest withLogStreamName(String logStreamName)
The name of the log stream.
logStreamName - The name of the log stream.public List<InputLogEvent> getLogEvents()
The log events.
public void setLogEvents(Collection<InputLogEvent> logEvents)
The log events.
logEvents - The log events.public PutLogEventsRequest withLogEvents(InputLogEvent... logEvents)
The log events.
NOTE: This method appends the values to the existing list (if any). Use
setLogEvents(java.util.Collection) or withLogEvents(java.util.Collection) if you want to
override the existing values.
logEvents - The log events.public PutLogEventsRequest withLogEvents(Collection<InputLogEvent> logEvents)
The log events.
logEvents - The log events.public void setSequenceToken(String sequenceToken)
The sequence token obtained from the response of the previous PutLogEvents call. An upload in a
newly created log stream does not require a sequence token. You can also get the sequence token using
DescribeLogStreams. If you call PutLogEvents twice within a narrow time period using the same
value for sequenceToken, both calls may be successful, or one may be rejected.
sequenceToken - The sequence token obtained from the response of the previous PutLogEvents call. An upload in
a newly created log stream does not require a sequence token. You can also get the sequence token using
DescribeLogStreams. If you call PutLogEvents twice within a narrow time period using
the same value for sequenceToken, both calls may be successful, or one may be rejected.public String getSequenceToken()
The sequence token obtained from the response of the previous PutLogEvents call. An upload in a
newly created log stream does not require a sequence token. You can also get the sequence token using
DescribeLogStreams. If you call PutLogEvents twice within a narrow time period using the same
value for sequenceToken, both calls may be successful, or one may be rejected.
PutLogEvents call. An upload
in a newly created log stream does not require a sequence token. You can also get the sequence token
using DescribeLogStreams. If you call PutLogEvents twice within a narrow time period
using the same value for sequenceToken, both calls may be successful, or one may be
rejected.public PutLogEventsRequest withSequenceToken(String sequenceToken)
The sequence token obtained from the response of the previous PutLogEvents call. An upload in a
newly created log stream does not require a sequence token. You can also get the sequence token using
DescribeLogStreams. If you call PutLogEvents twice within a narrow time period using the same
value for sequenceToken, both calls may be successful, or one may be rejected.
sequenceToken - The sequence token obtained from the response of the previous PutLogEvents call. An upload in
a newly created log stream does not require a sequence token. You can also get the sequence token using
DescribeLogStreams. If you call PutLogEvents twice within a narrow time period using
the same value for sequenceToken, both calls may be successful, or one may be rejected.public String toString()
toString in class ObjectObject.toString()public PutLogEventsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.