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() |
boolean |
equals(Object obj) |
List<InputLogEvent> |
getLogEvents() |
String |
getLogGroupName()
The name of the log group to put log events to.
|
String |
getLogStreamName()
The name of the log stream to put log events to.
|
String |
getSequenceToken()
A string token that must be obtained from the response of the previous
PutLogEvents request. |
int |
hashCode() |
void |
setLogEvents(Collection<InputLogEvent> logEvents) |
void |
setLogGroupName(String logGroupName)
The name of the log group to put log events to.
|
void |
setLogStreamName(String logStreamName)
The name of the log stream to put log events to.
|
void |
setSequenceToken(String sequenceToken)
A string token that must be obtained from the response of the previous
PutLogEvents request. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutLogEventsRequest |
withLogEvents(Collection<InputLogEvent> logEvents) |
PutLogEventsRequest |
withLogEvents(InputLogEvent... logEvents)
NOTE: This method appends the values to the existing list (if
any).
|
PutLogEventsRequest |
withLogGroupName(String logGroupName)
The name of the log group to put log events to.
|
PutLogEventsRequest |
withLogStreamName(String logStreamName)
The name of the log stream to put log events to.
|
PutLogEventsRequest |
withSequenceToken(String sequenceToken)
A string token that must be obtained from the response of the previous
PutLogEvents request. |
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
public PutLogEventsRequest()
public PutLogEventsRequest(String logGroupName, String logStreamName, List<InputLogEvent> logEvents)
logGroupName
- The name of the log group to put log events to.logStreamName
- The name of the log stream to put log events to.logEvents
- public void setLogGroupName(String logGroupName)
The name of the log group to put log events to.
logGroupName
- The name of the log group to put log events to.public String getLogGroupName()
The name of the log group to put log events to.
public PutLogEventsRequest withLogGroupName(String logGroupName)
The name of the log group to put log events to.
logGroupName
- The name of the log group to put log events to.public void setLogStreamName(String logStreamName)
The name of the log stream to put log events to.
logStreamName
- The name of the log stream to put log events to.public String getLogStreamName()
The name of the log stream to put log events to.
public PutLogEventsRequest withLogStreamName(String logStreamName)
The name of the log stream to put log events to.
logStreamName
- The name of the log stream to put log events to.public List<InputLogEvent> getLogEvents()
public void setLogEvents(Collection<InputLogEvent> logEvents)
logEvents
- public PutLogEventsRequest withLogEvents(InputLogEvent... logEvents)
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
- public PutLogEventsRequest withLogEvents(Collection<InputLogEvent> logEvents)
logEvents
- public void setSequenceToken(String sequenceToken)
A string token that must be obtained from the response of the previous
PutLogEvents
request.
sequenceToken
- A string token that must be obtained from the response of the
previous PutLogEvents
request.public String getSequenceToken()
A string token that must be obtained from the response of the previous
PutLogEvents
request.
PutLogEvents
request.public PutLogEventsRequest withSequenceToken(String sequenceToken)
A string token that must be obtained from the response of the previous
PutLogEvents
request.
sequenceToken
- A string token that must be obtained from the response of the
previous PutLogEvents
request.public String toString()
toString
in class Object
Object.toString()
public PutLogEventsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.