Interface StreamJournalToKinesisRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StreamJournalToKinesisRequest.Builder,StreamJournalToKinesisRequest>,QldbRequest.Builder,SdkBuilder<StreamJournalToKinesisRequest.Builder,StreamJournalToKinesisRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StreamJournalToKinesisRequest
public static interface StreamJournalToKinesisRequest.Builder extends QldbRequest.Builder, SdkPojo, CopyableBuilder<StreamJournalToKinesisRequest.Builder,StreamJournalToKinesisRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StreamJournalToKinesisRequest.BuilderexclusiveEndTime(Instant exclusiveEndTime)The exclusive date and time that specifies when the stream ends.StreamJournalToKinesisRequest.BuilderinclusiveStartTime(Instant inclusiveStartTime)The inclusive start date and time from which to start streaming journal data.default StreamJournalToKinesisRequest.BuilderkinesisConfiguration(Consumer<KinesisConfiguration.Builder> kinesisConfiguration)The configuration settings of the Kinesis Data Streams destination for your stream request.StreamJournalToKinesisRequest.BuilderkinesisConfiguration(KinesisConfiguration kinesisConfiguration)The configuration settings of the Kinesis Data Streams destination for your stream request.StreamJournalToKinesisRequest.BuilderledgerName(String ledgerName)The name of the ledger.StreamJournalToKinesisRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StreamJournalToKinesisRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StreamJournalToKinesisRequest.BuilderroleArn(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.StreamJournalToKinesisRequest.BuilderstreamName(String streamName)The name that you want to assign to the QLDB journal stream.StreamJournalToKinesisRequest.Buildertags(Map<String,String> tags)The key-value pairs to add as tags to the stream that you want to create.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qldb.model.QldbRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
ledgerName
StreamJournalToKinesisRequest.Builder ledgerName(String ledgerName)
The name of the ledger.
- Parameters:
ledgerName- The name of the ledger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
StreamJournalToKinesisRequest.Builder roleArn(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.
To pass a role to QLDB when requesting a journal stream, you must have permissions to perform the
iam:PassRoleaction on the IAM role resource. This is required for all journal stream requests.- Parameters:
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.To pass a role to QLDB when requesting a journal stream, you must have permissions to perform the
iam:PassRoleaction on the IAM role resource. This is required for all journal stream requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StreamJournalToKinesisRequest.Builder tags(Map<String,String> tags)
The key-value pairs to add as tags to the stream that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null.
- Parameters:
tags- The key-value pairs to add as tags to the stream that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusiveStartTime
StreamJournalToKinesisRequest.Builder inclusiveStartTime(Instant inclusiveStartTime)
The inclusive start date and time from which to start streaming journal data. This parameter must be in
ISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
InclusiveStartTimecannot be in the future and must be beforeExclusiveEndTime.If you provide an
InclusiveStartTimethat is before the ledger'sCreationDateTime, QLDB effectively defaults it to the ledger'sCreationDateTime.- Parameters:
inclusiveStartTime- The inclusive start date and time from which to start streaming journal data. This parameter must be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.The
InclusiveStartTimecannot be in the future and must be beforeExclusiveEndTime.If you provide an
InclusiveStartTimethat is before the ledger'sCreationDateTime, QLDB effectively defaults it to the ledger'sCreationDateTime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusiveEndTime
StreamJournalToKinesisRequest.Builder exclusiveEndTime(Instant exclusiveEndTime)
The exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it.
The
ExclusiveEndTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.- Parameters:
exclusiveEndTime- The exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it.The
ExclusiveEndTimemust be inISO 8601date and time format and in Universal Coordinated Time (UTC). For example:2019-06-13T21:36:34Z.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisConfiguration
StreamJournalToKinesisRequest.Builder kinesisConfiguration(KinesisConfiguration kinesisConfiguration)
The configuration settings of the Kinesis Data Streams destination for your stream request.
- Parameters:
kinesisConfiguration- The configuration settings of the Kinesis Data Streams destination for your stream request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisConfiguration
default StreamJournalToKinesisRequest.Builder kinesisConfiguration(Consumer<KinesisConfiguration.Builder> kinesisConfiguration)
The configuration settings of the Kinesis Data Streams destination for your stream request.
This is a convenience method that creates an instance of theKinesisConfiguration.Builderavoiding the need to create one manually viaKinesisConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokinesisConfiguration(KinesisConfiguration).- Parameters:
kinesisConfiguration- a consumer that will call methods onKinesisConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
kinesisConfiguration(KinesisConfiguration)
-
streamName
StreamJournalToKinesisRequest.Builder streamName(String streamName)
The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream.
Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in Quotas in Amazon QLDB in the Amazon QLDB Developer Guide.
- Parameters:
streamName- The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream.Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in Quotas in Amazon QLDB in the Amazon QLDB Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StreamJournalToKinesisRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StreamJournalToKinesisRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-