@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JournalKinesisStreamDescription extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Amazon QLDB journal stream, including the Amazon Resource Name (ARN), stream name, creation time, current status, and the parameters of the original stream creation request.
Constructor and Description |
---|
JournalKinesisStreamDescription() |
Modifier and Type | Method and Description |
---|---|
JournalKinesisStreamDescription |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the QLDB journal stream.
|
Date |
getCreationTime()
The date and time, in epoch time format, when the QLDB journal stream was created.
|
String |
getErrorCause()
The error message that describes the reason that a stream has a status of
IMPAIRED or
FAILED . |
Date |
getExclusiveEndTime()
The exclusive date and time that specifies when the stream ends.
|
Date |
getInclusiveStartTime()
The inclusive start date and time from which to start streaming journal data.
|
KinesisConfiguration |
getKinesisConfiguration()
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
|
String |
getLedgerName()
The name of the ledger.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data
records to a Kinesis Data Streams resource.
|
String |
getStatus()
The current state of the QLDB journal stream.
|
String |
getStreamId()
The UUID (represented in Base62-encoded text) of the QLDB journal stream.
|
String |
getStreamName()
The user-defined name of the QLDB journal stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the QLDB journal stream.
|
void |
setCreationTime(Date creationTime)
The date and time, in epoch time format, when the QLDB journal stream was created.
|
void |
setErrorCause(String errorCause)
The error message that describes the reason that a stream has a status of
IMPAIRED or
FAILED . |
void |
setExclusiveEndTime(Date exclusiveEndTime)
The exclusive date and time that specifies when the stream ends.
|
void |
setInclusiveStartTime(Date inclusiveStartTime)
The inclusive start date and time from which to start streaming journal data.
|
void |
setKinesisConfiguration(KinesisConfiguration kinesisConfiguration)
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
|
void |
setLedgerName(String ledgerName)
The name of the ledger.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data
records to a Kinesis Data Streams resource.
|
void |
setStatus(String status)
The current state of the QLDB journal stream.
|
void |
setStreamId(String streamId)
The UUID (represented in Base62-encoded text) of the QLDB journal stream.
|
void |
setStreamName(String streamName)
The user-defined name of the QLDB journal stream.
|
String |
toString()
Returns a string representation of this object.
|
JournalKinesisStreamDescription |
withArn(String arn)
The Amazon Resource Name (ARN) of the QLDB journal stream.
|
JournalKinesisStreamDescription |
withCreationTime(Date creationTime)
The date and time, in epoch time format, when the QLDB journal stream was created.
|
JournalKinesisStreamDescription |
withErrorCause(ErrorCause errorCause)
The error message that describes the reason that a stream has a status of
IMPAIRED or
FAILED . |
JournalKinesisStreamDescription |
withErrorCause(String errorCause)
The error message that describes the reason that a stream has a status of
IMPAIRED or
FAILED . |
JournalKinesisStreamDescription |
withExclusiveEndTime(Date exclusiveEndTime)
The exclusive date and time that specifies when the stream ends.
|
JournalKinesisStreamDescription |
withInclusiveStartTime(Date inclusiveStartTime)
The inclusive start date and time from which to start streaming journal data.
|
JournalKinesisStreamDescription |
withKinesisConfiguration(KinesisConfiguration kinesisConfiguration)
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
|
JournalKinesisStreamDescription |
withLedgerName(String ledgerName)
The name of the ledger.
|
JournalKinesisStreamDescription |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data
records to a Kinesis Data Streams resource.
|
JournalKinesisStreamDescription |
withStatus(StreamStatus status)
The current state of the QLDB journal stream.
|
JournalKinesisStreamDescription |
withStatus(String status)
The current state of the QLDB journal stream.
|
JournalKinesisStreamDescription |
withStreamId(String streamId)
The UUID (represented in Base62-encoded text) of the QLDB journal stream.
|
JournalKinesisStreamDescription |
withStreamName(String streamName)
The user-defined name of the QLDB journal stream.
|
public void setLedgerName(String ledgerName)
The name of the ledger.
ledgerName
- The name of the ledger.public String getLedgerName()
The name of the ledger.
public JournalKinesisStreamDescription withLedgerName(String ledgerName)
The name of the ledger.
ledgerName
- The name of the ledger.public void setCreationTime(Date creationTime)
The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
creationTime
- The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is
the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)public Date getCreationTime()
The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
public JournalKinesisStreamDescription withCreationTime(Date creationTime)
The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
creationTime
- The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is
the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)public void setInclusiveStartTime(Date inclusiveStartTime)
The inclusive start date and time from which to start streaming journal data.
inclusiveStartTime
- The inclusive start date and time from which to start streaming journal data.public Date getInclusiveStartTime()
The inclusive start date and time from which to start streaming journal data.
public JournalKinesisStreamDescription withInclusiveStartTime(Date inclusiveStartTime)
The inclusive start date and time from which to start streaming journal data.
inclusiveStartTime
- The inclusive start date and time from which to start streaming journal data.public void setExclusiveEndTime(Date exclusiveEndTime)
The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.
exclusiveEndTime
- The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the
stream runs indefinitely until you cancel it.public Date getExclusiveEndTime()
The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.
public JournalKinesisStreamDescription withExclusiveEndTime(Date exclusiveEndTime)
The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.
exclusiveEndTime
- The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the
stream runs indefinitely until you cancel it.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
roleArn
- The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write
data records to a Kinesis Data Streams resource.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
public JournalKinesisStreamDescription withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.
roleArn
- The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write
data records to a Kinesis Data Streams resource.public void setStreamId(String streamId)
The UUID (represented in Base62-encoded text) of the QLDB journal stream.
streamId
- The UUID (represented in Base62-encoded text) of the QLDB journal stream.public String getStreamId()
The UUID (represented in Base62-encoded text) of the QLDB journal stream.
public JournalKinesisStreamDescription withStreamId(String streamId)
The UUID (represented in Base62-encoded text) of the QLDB journal stream.
streamId
- The UUID (represented in Base62-encoded text) of the QLDB journal stream.public void setArn(String arn)
The Amazon Resource Name (ARN) of the QLDB journal stream.
arn
- The Amazon Resource Name (ARN) of the QLDB journal stream.public String getArn()
The Amazon Resource Name (ARN) of the QLDB journal stream.
public JournalKinesisStreamDescription withArn(String arn)
The Amazon Resource Name (ARN) of the QLDB journal stream.
arn
- The Amazon Resource Name (ARN) of the QLDB journal stream.public void setStatus(String status)
The current state of the QLDB journal stream.
status
- The current state of the QLDB journal stream.StreamStatus
public String getStatus()
The current state of the QLDB journal stream.
StreamStatus
public JournalKinesisStreamDescription withStatus(String status)
The current state of the QLDB journal stream.
status
- The current state of the QLDB journal stream.StreamStatus
public JournalKinesisStreamDescription withStatus(StreamStatus status)
The current state of the QLDB journal stream.
status
- The current state of the QLDB journal stream.StreamStatus
public void setKinesisConfiguration(KinesisConfiguration kinesisConfiguration)
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
kinesisConfiguration
- The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.public KinesisConfiguration getKinesisConfiguration()
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
public JournalKinesisStreamDescription withKinesisConfiguration(KinesisConfiguration kinesisConfiguration)
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
kinesisConfiguration
- The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.public void setErrorCause(String errorCause)
The error message that describes the reason that a stream has a status of IMPAIRED
or
FAILED
. This is not applicable to streams that have other status values.
errorCause
- The error message that describes the reason that a stream has a status of IMPAIRED
or
FAILED
. This is not applicable to streams that have other status values.ErrorCause
public String getErrorCause()
The error message that describes the reason that a stream has a status of IMPAIRED
or
FAILED
. This is not applicable to streams that have other status values.
IMPAIRED
or
FAILED
. This is not applicable to streams that have other status values.ErrorCause
public JournalKinesisStreamDescription withErrorCause(String errorCause)
The error message that describes the reason that a stream has a status of IMPAIRED
or
FAILED
. This is not applicable to streams that have other status values.
errorCause
- The error message that describes the reason that a stream has a status of IMPAIRED
or
FAILED
. This is not applicable to streams that have other status values.ErrorCause
public JournalKinesisStreamDescription withErrorCause(ErrorCause errorCause)
The error message that describes the reason that a stream has a status of IMPAIRED
or
FAILED
. This is not applicable to streams that have other status values.
errorCause
- The error message that describes the reason that a stream has a status of IMPAIRED
or
FAILED
. This is not applicable to streams that have other status values.ErrorCause
public void setStreamName(String streamName)
The user-defined name of the QLDB journal stream.
streamName
- The user-defined name of the QLDB journal stream.public String getStreamName()
The user-defined name of the QLDB journal stream.
public JournalKinesisStreamDescription withStreamName(String streamName)
The user-defined name of the QLDB journal stream.
streamName
- The user-defined name of the QLDB journal stream.public String toString()
toString
in class Object
Object.toString()
public JournalKinesisStreamDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.