@Generated(value="software.amazon.awssdk:codegen") public final class JournalKinesisStreamDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JournalKinesisStreamDescription.Builder,JournalKinesisStreamDescription>
The information about an Amazon QLDB journal stream, including the Amazon Resource Name (ARN), stream name, creation time, current status, and the parameters of your original stream creation request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JournalKinesisStreamDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the QLDB journal stream.
|
static JournalKinesisStreamDescription.Builder |
builder() |
Instant |
creationTime()
The date and time, in epoch time format, when the QLDB journal stream was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorCause |
errorCause()
The error message that describes the reason that a stream has a status of
IMPAIRED or
FAILED. |
String |
errorCauseAsString()
The error message that describes the reason that a stream has a status of
IMPAIRED or
FAILED. |
Instant |
exclusiveEndTime()
The exclusive date and time that specifies when the stream ends.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
inclusiveStartTime()
The inclusive start date and time from which to start streaming journal data.
|
KinesisConfiguration |
kinesisConfiguration()
The configuration settings of the Amazon Kinesis Data Streams destination for your QLDB journal stream.
|
String |
ledgerName()
The name of the ledger.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JournalKinesisStreamDescription.Builder> |
serializableBuilderClass() |
StreamStatus |
status()
The current state of the QLDB journal stream.
|
String |
statusAsString()
The current state of the QLDB journal stream.
|
String |
streamId()
The unique ID that QLDB assigns to each QLDB journal stream.
|
String |
streamName()
The user-defined name of the QLDB journal stream.
|
JournalKinesisStreamDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String ledgerName()
The name of the ledger.
public Instant 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 Instant inclusiveStartTime()
The inclusive start date and time from which to start streaming journal data.
public Instant exclusiveEndTime()
The exclusive date and time that specifies when the stream ends. If this parameter is blank, the stream runs indefinitely until you cancel it.
public 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.
public String streamId()
The unique ID that QLDB assigns to each QLDB journal stream.
public String arn()
The Amazon Resource Name (ARN) of the QLDB journal stream.
public StreamStatus status()
The current state of the QLDB journal stream.
If the service returns an enum value that is not available in the current SDK version, status will
return StreamStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StreamStatuspublic String statusAsString()
The current state of the QLDB journal stream.
If the service returns an enum value that is not available in the current SDK version, status will
return StreamStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StreamStatuspublic KinesisConfiguration kinesisConfiguration()
The configuration settings of the Amazon Kinesis Data Streams destination for your QLDB journal stream.
public 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.
If the service returns an enum value that is not available in the current SDK version, errorCause will
return ErrorCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCauseAsString().
IMPAIRED or
FAILED. This is not applicable to streams that have other status values.ErrorCausepublic String errorCauseAsString()
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.
If the service returns an enum value that is not available in the current SDK version, errorCause will
return ErrorCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCauseAsString().
IMPAIRED or
FAILED. This is not applicable to streams that have other status values.ErrorCausepublic String streamName()
The user-defined name of the QLDB journal stream.
public JournalKinesisStreamDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JournalKinesisStreamDescription.Builder,JournalKinesisStreamDescription>public static JournalKinesisStreamDescription.Builder builder()
public static Class<? extends JournalKinesisStreamDescription.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.