Class JournalKinesisStreamDescription
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JournalKinesisStreamDescription.Builder,JournalKinesisStreamDescription>
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) of the QLDB journal stream.builder()final InstantThe date and time, in epoch time format, when the QLDB journal stream was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ErrorCauseThe error message that describes the reason that a stream has a status ofIMPAIREDorFAILED.final StringThe error message that describes the reason that a stream has a status ofIMPAIREDorFAILED.final InstantThe exclusive date and time that specifies when the stream ends.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe inclusive start date and time from which to start streaming journal data.final KinesisConfigurationThe configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.final StringThe name of the ledger.final StringroleArn()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.static Class<? extends JournalKinesisStreamDescription.Builder> final StreamStatusstatus()The current state of the QLDB journal stream.final StringThe current state of the QLDB journal stream.final StringstreamId()The UUID (represented in Base62-encoded text) of the QLDB journal stream.final StringThe user-defined name of the QLDB journal stream.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
ledgerName
-
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.)
- Returns:
- 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.)
-
inclusiveStartTime
The inclusive start date and time from which to start streaming journal data.
- Returns:
- The inclusive start date and time from which to start streaming journal data.
-
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.
- Returns:
- The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.
-
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.
- Returns:
- 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.
-
streamId
The UUID (represented in Base62-encoded text) of the QLDB journal stream.
- Returns:
- The UUID (represented in Base62-encoded text) of the QLDB journal stream.
-
arn
The Amazon Resource Name (ARN) of the QLDB journal stream.
- Returns:
- The Amazon Resource Name (ARN) of the QLDB journal stream.
-
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,
statuswill returnStreamStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of the QLDB journal stream.
- See Also:
-
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,
statuswill returnStreamStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of the QLDB journal stream.
- See Also:
-
kinesisConfiguration
The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
- Returns:
- The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.
-
errorCause
The error message that describes the reason that a stream has a status of
IMPAIREDorFAILED. 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,
errorCausewill returnErrorCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCauseAsString().- Returns:
- The error message that describes the reason that a stream has a status of
IMPAIREDorFAILED. This is not applicable to streams that have other status values. - See Also:
-
errorCauseAsString
The error message that describes the reason that a stream has a status of
IMPAIREDorFAILED. 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,
errorCausewill returnErrorCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCauseAsString().- Returns:
- The error message that describes the reason that a stream has a status of
IMPAIREDorFAILED. This is not applicable to streams that have other status values. - See Also:
-
streamName
The user-defined name of the QLDB journal stream.
- Returns:
- The user-defined name of the QLDB journal stream.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<JournalKinesisStreamDescription.Builder,JournalKinesisStreamDescription> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-