@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamJournalToKinesisRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StreamJournalToKinesisRequest() |
Modifier and Type | Method and Description |
---|---|
StreamJournalToKinesisRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
StreamJournalToKinesisRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
StreamJournalToKinesisRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
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 Kinesis Data Streams destination for your stream request.
|
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 |
getStreamName()
The name that you want to assign to the QLDB journal stream.
|
Map<String,String> |
getTags()
The key-value pairs to add as tags to the stream that you want to create.
|
int |
hashCode() |
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 Kinesis Data Streams destination for your stream request.
|
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 |
setStreamName(String streamName)
The name that you want to assign to the QLDB journal stream.
|
void |
setTags(Map<String,String> tags)
The key-value pairs to add as tags to the stream that you want to create.
|
String |
toString()
Returns a string representation of this object.
|
StreamJournalToKinesisRequest |
withExclusiveEndTime(Date exclusiveEndTime)
The exclusive date and time that specifies when the stream ends.
|
StreamJournalToKinesisRequest |
withInclusiveStartTime(Date inclusiveStartTime)
The inclusive start date and time from which to start streaming journal data.
|
StreamJournalToKinesisRequest |
withKinesisConfiguration(KinesisConfiguration kinesisConfiguration)
The configuration settings of the Kinesis Data Streams destination for your stream request.
|
StreamJournalToKinesisRequest |
withLedgerName(String ledgerName)
The name of the ledger.
|
StreamJournalToKinesisRequest |
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.
|
StreamJournalToKinesisRequest |
withStreamName(String streamName)
The name that you want to assign to the QLDB journal stream.
|
StreamJournalToKinesisRequest |
withTags(Map<String,String> tags)
The key-value pairs to add as tags to the stream that you want to create.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 StreamJournalToKinesisRequest withLedgerName(String ledgerName)
The name of the ledger.
ledgerName
- The name of the ledger.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.
To pass a role to QLDB when requesting a journal stream, you must have permissions to perform the
iam:PassRole
action on the IAM role resource. This is required for all journal stream requests.
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:PassRole
action on the IAM role resource. This is required for all journal stream
requests.
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.
To pass a role to QLDB when requesting a journal stream, you must have permissions to perform the
iam:PassRole
action on the IAM role resource. This is required for all journal stream requests.
To pass a role to QLDB when requesting a journal stream, you must have permissions to perform the
iam:PassRole
action on the IAM role resource. This is required for all journal stream
requests.
public StreamJournalToKinesisRequest 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.
To pass a role to QLDB when requesting a journal stream, you must have permissions to perform the
iam:PassRole
action on the IAM role resource. This is required for all journal stream requests.
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:PassRole
action on the IAM role resource. This is required for all journal stream
requests.
public Map<String,String> getTags()
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.
public void setTags(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.
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.public StreamJournalToKinesisRequest withTags(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.
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.public StreamJournalToKinesisRequest addTagsEntry(String key, String value)
public StreamJournalToKinesisRequest clearTagsEntries()
public void setInclusiveStartTime(Date inclusiveStartTime)
The inclusive start date and time from which to start streaming journal data. This parameter must be in
ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example:
2019-06-13T21:36:34Z
.
The InclusiveStartTime
cannot be in the future and must be before ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's CreationDateTime
, QLDB
effectively defaults it to the ledger's CreationDateTime
.
inclusiveStartTime
- The inclusive start date and time from which to start streaming journal data. This parameter must be in
ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example:
2019-06-13T21:36:34Z
.
The InclusiveStartTime
cannot be in the future and must be before
ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's
CreationDateTime
, QLDB effectively defaults it to the ledger's CreationDateTime
.
public Date getInclusiveStartTime()
The inclusive start date and time from which to start streaming journal data. This parameter must be in
ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example:
2019-06-13T21:36:34Z
.
The InclusiveStartTime
cannot be in the future and must be before ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's CreationDateTime
, QLDB
effectively defaults it to the ledger's CreationDateTime
.
ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example:
2019-06-13T21:36:34Z
.
The InclusiveStartTime
cannot be in the future and must be before
ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's
CreationDateTime
, QLDB effectively defaults it to the ledger's CreationDateTime
.
public StreamJournalToKinesisRequest withInclusiveStartTime(Date inclusiveStartTime)
The inclusive start date and time from which to start streaming journal data. This parameter must be in
ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example:
2019-06-13T21:36:34Z
.
The InclusiveStartTime
cannot be in the future and must be before ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's CreationDateTime
, QLDB
effectively defaults it to the ledger's CreationDateTime
.
inclusiveStartTime
- The inclusive start date and time from which to start streaming journal data. This parameter must be in
ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example:
2019-06-13T21:36:34Z
.
The InclusiveStartTime
cannot be in the future and must be before
ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's
CreationDateTime
, QLDB effectively defaults it to the ledger's CreationDateTime
.
public void setExclusiveEndTime(Date 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 ExclusiveEndTime
must be in ISO 8601
date and time format and in Universal
Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
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 ExclusiveEndTime
must be in ISO 8601
date and time format and in Universal
Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
public Date getExclusiveEndTime()
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 ExclusiveEndTime
must be in ISO 8601
date and time format and in Universal
Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
The ExclusiveEndTime
must be in ISO 8601
date and time format and in Universal
Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
public StreamJournalToKinesisRequest withExclusiveEndTime(Date 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 ExclusiveEndTime
must be in ISO 8601
date and time format and in Universal
Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
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 ExclusiveEndTime
must be in ISO 8601
date and time format and in Universal
Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
public void setKinesisConfiguration(KinesisConfiguration kinesisConfiguration)
The configuration settings of the Kinesis Data Streams destination for your stream request.
kinesisConfiguration
- The configuration settings of the Kinesis Data Streams destination for your stream request.public KinesisConfiguration getKinesisConfiguration()
The configuration settings of the Kinesis Data Streams destination for your stream request.
public StreamJournalToKinesisRequest withKinesisConfiguration(KinesisConfiguration kinesisConfiguration)
The configuration settings of the Kinesis Data Streams destination for your stream request.
kinesisConfiguration
- The configuration settings of the Kinesis Data Streams destination for your stream request.public void setStreamName(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.
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.
public String getStreamName()
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.
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.
public StreamJournalToKinesisRequest withStreamName(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.
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.
public String toString()
toString
in class Object
Object.toString()
public StreamJournalToKinesisRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()