public class LogStream extends Object implements Serializable, Cloneable
A log stream is sequence of log events from a single emitter of logs.
Constructor and Description |
---|
LogStream() |
Modifier and Type | Method and Description |
---|---|
LogStream |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Returns the value of the Arn property for this object.
|
Long |
getCreationTime()
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
Long |
getFirstEventTimestamp()
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
Long |
getLastEventTimestamp()
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
Long |
getLastIngestionTime()
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
String |
getLogStreamName()
Returns the value of the LogStreamName property for this object.
|
Long |
getStoredBytes()
Returns the value of the StoredBytes property for this object.
|
String |
getUploadSequenceToken()
A string token used for making PutLogEvents requests.
|
int |
hashCode() |
void |
setArn(String arn)
Sets the value of the Arn property for this object.
|
void |
setCreationTime(Long creationTime)
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
void |
setFirstEventTimestamp(Long firstEventTimestamp)
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
void |
setLastEventTimestamp(Long lastEventTimestamp)
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
void |
setLastIngestionTime(Long lastIngestionTime)
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
void |
setLogStreamName(String logStreamName)
Sets the value of the LogStreamName property for this object.
|
void |
setStoredBytes(Long storedBytes)
Sets the value of the StoredBytes property for this object.
|
void |
setUploadSequenceToken(String uploadSequenceToken)
A string token used for making PutLogEvents requests.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LogStream |
withArn(String arn)
Sets the value of the Arn property for this object.
|
LogStream |
withCreationTime(Long creationTime)
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
LogStream |
withFirstEventTimestamp(Long firstEventTimestamp)
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
LogStream |
withLastEventTimestamp(Long lastEventTimestamp)
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
LogStream |
withLastIngestionTime(Long lastIngestionTime)
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
LogStream |
withLogStreamName(String logStreamName)
Sets the value of the LogStreamName property for this object.
|
LogStream |
withStoredBytes(Long storedBytes)
Sets the value of the StoredBytes property for this object.
|
LogStream |
withUploadSequenceToken(String uploadSequenceToken)
A string token used for making PutLogEvents requests.
|
public String getLogStreamName()
Constraints:
Length: 1 - 512
Pattern: [^:*]*
public void setLogStreamName(String logStreamName)
Constraints:
Length: 1 - 512
Pattern: [^:*]*
logStreamName
- The new value for the LogStreamName property for this object.public LogStream withLogStreamName(String logStreamName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [^:*]*
logStreamName
- The new value for the LogStreamName property for this object.public Long getCreationTime()
Constraints:
Range: 0 -
public void setCreationTime(Long creationTime)
Constraints:
Range: 0 -
creationTime
- A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.public LogStream withCreationTime(Long creationTime)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
creationTime
- A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.public Long getFirstEventTimestamp()
Constraints:
Range: 0 -
public void setFirstEventTimestamp(Long firstEventTimestamp)
Constraints:
Range: 0 -
firstEventTimestamp
- A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.public LogStream withFirstEventTimestamp(Long firstEventTimestamp)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
firstEventTimestamp
- A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.public Long getLastEventTimestamp()
Constraints:
Range: 0 -
public void setLastEventTimestamp(Long lastEventTimestamp)
Constraints:
Range: 0 -
lastEventTimestamp
- A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.public LogStream withLastEventTimestamp(Long lastEventTimestamp)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
lastEventTimestamp
- A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.public Long getLastIngestionTime()
Constraints:
Range: 0 -
public void setLastIngestionTime(Long lastIngestionTime)
Constraints:
Range: 0 -
lastIngestionTime
- A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.public LogStream withLastIngestionTime(Long lastIngestionTime)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
lastIngestionTime
- A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.public String getUploadSequenceToken()
sequenceToken
can only be used once, and
PutLogEvents requests must include the sequenceToken
obtained from the response of the
previous request.
Constraints:
Length: 1 -
sequenceToken
can only be used once, and
PutLogEvents requests must include the sequenceToken
obtained from the response of the
previous request.public void setUploadSequenceToken(String uploadSequenceToken)
sequenceToken
can only be used once, and
PutLogEvents requests must include the sequenceToken
obtained from the response of the
previous request.
Constraints:
Length: 1 -
uploadSequenceToken
- A string token used for making PutLogEvents requests. A sequenceToken
can only be used once, and
PutLogEvents requests must include the sequenceToken
obtained from the response of the
previous request.public LogStream withUploadSequenceToken(String uploadSequenceToken)
sequenceToken
can only be used once, and
PutLogEvents requests must include the sequenceToken
obtained from the response of the
previous request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
uploadSequenceToken
- A string token used for making PutLogEvents requests. A sequenceToken
can only be used once, and
PutLogEvents requests must include the sequenceToken
obtained from the response of the
previous request.public String getArn()
public void setArn(String arn)
arn
- The new value for the Arn property for this object.public LogStream withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
arn
- The new value for the Arn property for this object.public Long getStoredBytes()
Constraints:
Range: 0 -
public void setStoredBytes(Long storedBytes)
Constraints:
Range: 0 -
storedBytes
- The new value for the StoredBytes property for this object.public LogStream withStoredBytes(Long storedBytes)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
storedBytes
- The new value for the StoredBytes property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.